pub struct UserProfileDataPatch {
pub content: Option<String>,
pub background: Option<AttachmentId>,
}Expand description
A patch to the profile data of an user.
Fields§
§content: Option<String>§background: Option<AttachmentId>Trait Implementations§
Source§impl Clone for UserProfileDataPatch
impl Clone for UserProfileDataPatch
Source§fn clone(&self) -> UserProfileDataPatch
fn clone(&self) -> UserProfileDataPatch
Returns a duplicate 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 UserProfileDataPatch
impl Debug for UserProfileDataPatch
Source§impl Hash for UserProfileDataPatch
impl Hash for UserProfileDataPatch
Source§impl Ord for UserProfileDataPatch
impl Ord for UserProfileDataPatch
Source§fn cmp(&self, other: &UserProfileDataPatch) -> Ordering
fn cmp(&self, other: &UserProfileDataPatch) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UserProfileDataPatch
impl PartialEq for UserProfileDataPatch
Source§impl PartialOrd for UserProfileDataPatch
impl PartialOrd for UserProfileDataPatch
Source§impl Serialize for UserProfileDataPatch
impl Serialize for UserProfileDataPatch
impl Eq for UserProfileDataPatch
impl StructuralPartialEq for UserProfileDataPatch
Auto Trait Implementations§
impl Freeze for UserProfileDataPatch
impl RefUnwindSafe for UserProfileDataPatch
impl Send for UserProfileDataPatch
impl Sync for UserProfileDataPatch
impl Unpin for UserProfileDataPatch
impl UnwindSafe for UserProfileDataPatch
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