pub struct ApplyPresetRequest {
pub preset: String,
}Expand description
Request to apply an access preset to a user.
Fields§
§preset: StringThe access preset name to apply.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ApplyPresetRequest
impl<'de> Deserialize<'de> for ApplyPresetRequest
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 Serialize for ApplyPresetRequest
impl Serialize for ApplyPresetRequest
Source§impl Validate for ApplyPresetRequest
impl Validate for ApplyPresetRequest
Auto Trait Implementations§
impl Freeze for ApplyPresetRequest
impl RefUnwindSafe for ApplyPresetRequest
impl Send for ApplyPresetRequest
impl Sync for ApplyPresetRequest
impl Unpin for ApplyPresetRequest
impl UnsafeUnpin for ApplyPresetRequest
impl UnwindSafe for ApplyPresetRequest
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