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