pub struct SetModeUpdate {
pub mode: PermissionMode,
pub destination: Option<PermissionUpdateDestination>,
}Expand description
Set mode update
Fields§
§mode: PermissionModePermission mode to set
destination: Option<PermissionUpdateDestination>Optional destination
Trait Implementations§
Source§impl Clone for SetModeUpdate
impl Clone for SetModeUpdate
Source§fn clone(&self) -> SetModeUpdate
fn clone(&self) -> SetModeUpdate
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 SetModeUpdate
impl Debug for SetModeUpdate
Source§impl<'de> Deserialize<'de> for SetModeUpdate
impl<'de> Deserialize<'de> for SetModeUpdate
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
Source§impl PartialEq for SetModeUpdate
impl PartialEq for SetModeUpdate
Source§impl Serialize for SetModeUpdate
impl Serialize for SetModeUpdate
impl StructuralPartialEq for SetModeUpdate
Auto Trait Implementations§
impl Freeze for SetModeUpdate
impl RefUnwindSafe for SetModeUpdate
impl Send for SetModeUpdate
impl Sync for SetModeUpdate
impl Unpin for SetModeUpdate
impl UnwindSafe for SetModeUpdate
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