pub struct ToggleAuthMethodRequest(pub AuthMethod, pub bool);Expand description
A Sandstorm toggle auth method request.
Tuple Fields§
§0: AuthMethodThe authentication method to alter.
1: boolThe desired state for the authentication method (true = enabled, false = disabled).
Trait Implementations§
Source§impl ByteRead for ToggleAuthMethodRequest
impl ByteRead for ToggleAuthMethodRequest
Auto Trait Implementations§
impl Freeze for ToggleAuthMethodRequest
impl RefUnwindSafe for ToggleAuthMethodRequest
impl Send for ToggleAuthMethodRequest
impl Sync for ToggleAuthMethodRequest
impl Unpin for ToggleAuthMethodRequest
impl UnwindSafe for ToggleAuthMethodRequest
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