pub struct AuthMethodDelete {
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
AuthMethodDelete : authMethodDelete is a command that deletes auth method
Fields§
§json: Option<bool>Set output format to JSON
name: StringAuth Method name
token: Option<String>Authentication token (see /auth and /configure)
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl AuthMethodDelete
impl AuthMethodDelete
Sourcepub fn new(name: String) -> AuthMethodDelete
pub fn new(name: String) -> AuthMethodDelete
authMethodDelete is a command that deletes auth method
Trait Implementations§
Source§impl Clone for AuthMethodDelete
impl Clone for AuthMethodDelete
Source§fn clone(&self) -> AuthMethodDelete
fn clone(&self) -> AuthMethodDelete
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 AuthMethodDelete
impl Debug for AuthMethodDelete
Source§impl Default for AuthMethodDelete
impl Default for AuthMethodDelete
Source§fn default() -> AuthMethodDelete
fn default() -> AuthMethodDelete
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthMethodDelete
impl<'de> Deserialize<'de> for AuthMethodDelete
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 AuthMethodDelete
impl PartialEq for AuthMethodDelete
Source§fn eq(&self, other: &AuthMethodDelete) -> bool
fn eq(&self, other: &AuthMethodDelete) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthMethodDelete
impl Serialize for AuthMethodDelete
impl StructuralPartialEq for AuthMethodDelete
Auto Trait Implementations§
impl Freeze for AuthMethodDelete
impl RefUnwindSafe for AuthMethodDelete
impl Send for AuthMethodDelete
impl Sync for AuthMethodDelete
impl Unpin for AuthMethodDelete
impl UnsafeUnpin for AuthMethodDelete
impl UnwindSafe for AuthMethodDelete
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