pub struct CreateSchoolAccountRequest {
pub name: String,
pub email: String,
pub location: Option<Value>,
pub description: Option<String>,
pub profile_image: Option<ImageId>,
pub website: Option<String>,
pub organization_type: Option<String>,
}
Expand description
Request to create a new school account
Fields§
§name: String
School name
email: String
The school’s email address
location: Option<Value>
School location
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
Trait Implementations§
Source§impl Clone for CreateSchoolAccountRequest
impl Clone for CreateSchoolAccountRequest
Source§fn clone(&self) -> CreateSchoolAccountRequest
fn clone(&self) -> CreateSchoolAccountRequest
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 CreateSchoolAccountRequest
impl Debug for CreateSchoolAccountRequest
Source§impl<'de> Deserialize<'de> for CreateSchoolAccountRequest
impl<'de> Deserialize<'de> for CreateSchoolAccountRequest
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 CreateSchoolAccountRequest
impl RefUnwindSafe for CreateSchoolAccountRequest
impl Send for CreateSchoolAccountRequest
impl Sync for CreateSchoolAccountRequest
impl Unpin for CreateSchoolAccountRequest
impl UnwindSafe for CreateSchoolAccountRequest
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