pub struct AdminProfilePatch {
pub name: Patch<String>,
pub roles: Patch<Option<Vec<String>>>,
pub status: Patch<ProfileStatus>,
}Expand description
Admin profile patch for PATCH /admin/profile/:idTag endpoint
Fields§
§name: Patch<String>§roles: Patch<Option<Vec<String>>>§status: Patch<ProfileStatus>Trait Implementations§
Source§impl Clone for AdminProfilePatch
impl Clone for AdminProfilePatch
Source§fn clone(&self) -> AdminProfilePatch
fn clone(&self) -> AdminProfilePatch
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 AdminProfilePatch
impl Debug for AdminProfilePatch
Source§impl<'de> Deserialize<'de> for AdminProfilePatch
impl<'de> Deserialize<'de> for AdminProfilePatch
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 AdminProfilePatch
impl RefUnwindSafe for AdminProfilePatch
impl Send for AdminProfilePatch
impl Sync for AdminProfilePatch
impl Unpin for AdminProfilePatch
impl UnsafeUnpin for AdminProfilePatch
impl UnwindSafe for AdminProfilePatch
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