Struct robespierre_models::users::UserEditPatch [−][src]
#[non_exhaustive]pub struct UserEditPatch {
pub status: Option<Status>,
pub profile: Option<UserProfileDataPatch>,
pub avatar: Option<AttachmentId>,
pub remove: Option<UserField>,
}Expand description
A patch to an user.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: Option<Status>profile: Option<UserProfileDataPatch>avatar: Option<AttachmentId>remove: Option<UserField>Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for UserEditPatch
impl Send for UserEditPatch
impl Sync for UserEditPatch
impl Unpin for UserEditPatch
impl UnwindSafe for UserEditPatch
Blanket Implementations
Mutably borrows from an owned value. Read more