pub struct UpdateSchoolAccountRequest {
pub email: UpdateNonNullable<String>,
pub school_name: UpdateNonNullable<String>,
pub location: UpdateNullable<Value>,
pub description: UpdateNullable<String>,
pub profile_image: UpdateNullable<ImageId>,
pub website: UpdateNullable<String>,
pub organization_type: UpdateNullable<String>,
}
Expand description
Request to update a school profile.
Fields§
§email: UpdateNonNullable<String>
The school’s email address
school_name: UpdateNonNullable<String>
The school’s name
location: UpdateNullable<Value>
The school’s location
description: UpdateNullable<String>
Description for school
profile_image: UpdateNullable<ImageId>
ID to the school’s profile image in the user image library.
website: UpdateNullable<String>
Website for the school
organization_type: UpdateNullable<String>
Organization type
Trait Implementations§
Source§impl Clone for UpdateSchoolAccountRequest
impl Clone for UpdateSchoolAccountRequest
Source§fn clone(&self) -> UpdateSchoolAccountRequest
fn clone(&self) -> UpdateSchoolAccountRequest
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 UpdateSchoolAccountRequest
impl Debug for UpdateSchoolAccountRequest
Source§impl Default for UpdateSchoolAccountRequest
impl Default for UpdateSchoolAccountRequest
Source§fn default() -> UpdateSchoolAccountRequest
fn default() -> UpdateSchoolAccountRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateSchoolAccountRequest
impl<'de> Deserialize<'de> for UpdateSchoolAccountRequest
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 UpdateSchoolAccountRequest
impl RefUnwindSafe for UpdateSchoolAccountRequest
impl Send for UpdateSchoolAccountRequest
impl Sync for UpdateSchoolAccountRequest
impl Unpin for UpdateSchoolAccountRequest
impl UnwindSafe for UpdateSchoolAccountRequest
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