pub struct AuthMethodList {
pub filter: Option<String>,
pub json: Option<bool>,
pub pagination_token: Option<String>,
pub token: Option<String>,
pub type: Option<Vec<String>>,
pub uid_token: Option<String>,
}Expand description
AuthMethodList : authMethodList is a command that returns a list of auth methods
Fields§
§filter: Option<String>Filter by auth method name or part of it
json: Option<bool>Set output format to JSON
pagination_token: Option<String>Next page reference
token: Option<String>Authentication token (see /auth and /configure)
type: Option<Vec<String>>The Auth method types list of the requested method. In case it is empty, all types of auth methods will be returned. options: [api_key, azure_ad, oauth2/jwt, saml2, ldap, aws_iam, oidc, universal_identity, gcp, k8s, cert]
uid_token: Option<String>The universal identity token, Required only for universal_identity authentication
Implementations§
Source§impl AuthMethodList
impl AuthMethodList
Sourcepub fn new() -> AuthMethodList
pub fn new() -> AuthMethodList
authMethodList is a command that returns a list of auth methods
Trait Implementations§
Source§impl Clone for AuthMethodList
impl Clone for AuthMethodList
Source§fn clone(&self) -> AuthMethodList
fn clone(&self) -> AuthMethodList
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 AuthMethodList
impl Debug for AuthMethodList
Source§impl Default for AuthMethodList
impl Default for AuthMethodList
Source§fn default() -> AuthMethodList
fn default() -> AuthMethodList
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthMethodList
impl<'de> Deserialize<'de> for AuthMethodList
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 AuthMethodList
impl PartialEq for AuthMethodList
Source§fn eq(&self, other: &AuthMethodList) -> bool
fn eq(&self, other: &AuthMethodList) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthMethodList
impl Serialize for AuthMethodList
impl StructuralPartialEq for AuthMethodList
Auto Trait Implementations§
impl Freeze for AuthMethodList
impl RefUnwindSafe for AuthMethodList
impl Send for AuthMethodList
impl Sync for AuthMethodList
impl Unpin for AuthMethodList
impl UnsafeUnpin for AuthMethodList
impl UnwindSafe for AuthMethodList
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