pub struct PatchUserBody { /* private fields */ }Implementations§
Source§impl PatchUserBody
impl PatchUserBody
pub fn display_name<T>(self, value: T) -> Self
pub fn role<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for PatchUserBody
impl Clone for PatchUserBody
Source§fn clone(&self) -> PatchUserBody
fn clone(&self) -> PatchUserBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PatchUserBody
impl Debug for PatchUserBody
Source§impl Default for PatchUserBody
impl Default for PatchUserBody
Source§impl From<PatchUserBody> for PatchUserBody
impl From<PatchUserBody> for PatchUserBody
Source§fn from(value: PatchUserBody) -> Self
fn from(value: PatchUserBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<PatchUserBody> for PatchUserBody
impl TryFrom<PatchUserBody> for PatchUserBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: PatchUserBody) -> Result<Self, ConversionError>
fn try_from(value: PatchUserBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for PatchUserBody
impl RefUnwindSafe for PatchUserBody
impl Send for PatchUserBody
impl Sync for PatchUserBody
impl Unpin for PatchUserBody
impl UnsafeUnpin for PatchUserBody
impl UnwindSafe for PatchUserBody
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