pub struct DeviceUpdate {
pub nickname: Option<String>,
pub blocked: Option<bool>,
pub paused: Option<bool>,
pub profile: Option<String>,
}Fields§
§nickname: Option<String>§blocked: Option<bool>§paused: Option<bool>§profile: Option<String>Trait Implementations§
Source§impl Clone for DeviceUpdate
impl Clone for DeviceUpdate
Source§fn clone(&self) -> DeviceUpdate
fn clone(&self) -> DeviceUpdate
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 DeviceUpdate
impl Debug for DeviceUpdate
Source§impl Default for DeviceUpdate
impl Default for DeviceUpdate
Source§fn default() -> DeviceUpdate
fn default() -> DeviceUpdate
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceUpdate
impl RefUnwindSafe for DeviceUpdate
impl Send for DeviceUpdate
impl Sync for DeviceUpdate
impl Unpin for DeviceUpdate
impl UnsafeUnpin for DeviceUpdate
impl UnwindSafe for DeviceUpdate
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