pub struct DeleteAuthMethod {
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
DeleteAuthMethod : deleteAuthMethod is a command that deletes the auth method. [Deprecated: Use auth-method-delete command]
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 DeleteAuthMethod
impl DeleteAuthMethod
Sourcepub fn new(name: String) -> DeleteAuthMethod
pub fn new(name: String) -> DeleteAuthMethod
deleteAuthMethod is a command that deletes the auth method. [Deprecated: Use auth-method-delete command]
Trait Implementations§
Source§impl Clone for DeleteAuthMethod
impl Clone for DeleteAuthMethod
Source§fn clone(&self) -> DeleteAuthMethod
fn clone(&self) -> DeleteAuthMethod
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 DeleteAuthMethod
impl Debug for DeleteAuthMethod
Source§impl Default for DeleteAuthMethod
impl Default for DeleteAuthMethod
Source§fn default() -> DeleteAuthMethod
fn default() -> DeleteAuthMethod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteAuthMethod
impl<'de> Deserialize<'de> for DeleteAuthMethod
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 DeleteAuthMethod
impl PartialEq for DeleteAuthMethod
Source§fn eq(&self, other: &DeleteAuthMethod) -> bool
fn eq(&self, other: &DeleteAuthMethod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteAuthMethod
impl Serialize for DeleteAuthMethod
impl StructuralPartialEq for DeleteAuthMethod
Auto Trait Implementations§
impl Freeze for DeleteAuthMethod
impl RefUnwindSafe for DeleteAuthMethod
impl Send for DeleteAuthMethod
impl Sync for DeleteAuthMethod
impl Unpin for DeleteAuthMethod
impl UnsafeUnpin for DeleteAuthMethod
impl UnwindSafe for DeleteAuthMethod
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