pub struct AdminSchool {Show 13 fields
pub id: SchoolId,
pub school_name: String,
pub internal_school_name: Option<SchoolName>,
pub verified: bool,
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
Same as School
but includes internal fields
Fields§
§id: SchoolId
The school’s id.
school_name: String
Name of the school
internal_school_name: Option<SchoolName>
Internal name of the school
verified: bool
Whether the school is verified
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 Clone for AdminSchool
impl Clone for AdminSchool
Source§fn clone(&self) -> AdminSchool
fn clone(&self) -> AdminSchool
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AdminSchool
impl Debug for AdminSchool
Source§impl<'de> Deserialize<'de> for AdminSchool
impl<'de> Deserialize<'de> for AdminSchool
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 AdminSchool
impl RefUnwindSafe for AdminSchool
impl Send for AdminSchool
impl Sync for AdminSchool
impl Unpin for AdminSchool
impl UnwindSafe for AdminSchool
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