pub struct School {
pub id: SchoolId,
pub school_name: String,
pub location: Option<Value>,
pub email: String,
pub description: Option<String>,
pub profile_image: Option<ImageId>,
pub website: Option<String>,
pub organization_type: Option<String>,
pub account_id: AccountId,
pub created_at: DateTime<Utc>,
pub updated_at: Option<DateTime<Utc>>,
}
Expand description
A school profile.
Fields§
§id: SchoolId
The school’s id.
school_name: String
Name of the school
location: Option<Value>
The school’s location
email: String
The school’s email address
description: Option<String>
Description for school
profile_image: Option<ImageId>
ID to the school’s profile image in the user image library.
website: Option<String>
Website for the school
organization_type: Option<String>
Organization type
account_id: AccountId
The school’s account ID
created_at: DateTime<Utc>
When the school was created.
updated_at: Option<DateTime<Utc>>
When the school was last updated.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for School
impl<'de> Deserialize<'de> for School
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for School
impl RefUnwindSafe for School
impl Send for School
impl Sync for School
impl Unpin for School
impl UnwindSafe for School
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more