pub struct UpdateProfileData {
pub name: Patch<Box<str>>,
pub profile_pic: Patch<Option<Box<str>>>,
pub roles: Patch<Option<Vec<Box<str>>>>,
pub status: Patch<ProfileStatus>,
pub synced: Patch<bool>,
pub following: Patch<bool>,
pub connected: Patch<ProfileConnectionStatus>,
pub etag: Patch<Box<str>>,
}Fields§
§name: Patch<Box<str>>§profile_pic: Patch<Option<Box<str>>>§roles: Patch<Option<Vec<Box<str>>>>§status: Patch<ProfileStatus>§synced: Patch<bool>§following: Patch<bool>§connected: Patch<ProfileConnectionStatus>§etag: Patch<Box<str>>Trait Implementations§
Source§impl Debug for UpdateProfileData
impl Debug for UpdateProfileData
Source§impl Default for UpdateProfileData
impl Default for UpdateProfileData
Source§fn default() -> UpdateProfileData
fn default() -> UpdateProfileData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateProfileData
impl<'de> Deserialize<'de> for UpdateProfileData
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 UpdateProfileData
impl RefUnwindSafe for UpdateProfileData
impl Send for UpdateProfileData
impl Sync for UpdateProfileData
impl Unpin for UpdateProfileData
impl UnsafeUnpin for UpdateProfileData
impl UnwindSafe for UpdateProfileData
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