pub struct DeleteAuthMethods {
pub json: Option<bool>,
pub path: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
DeleteAuthMethods : deleteAuthMethods is a command that deletes multiple auth methods from a given path.
Fields§
§json: Option<bool>Set output format to JSON
path: StringPath to delete the auth methods from
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 DeleteAuthMethods
impl DeleteAuthMethods
Sourcepub fn new(path: String) -> DeleteAuthMethods
pub fn new(path: String) -> DeleteAuthMethods
deleteAuthMethods is a command that deletes multiple auth methods from a given path.
Trait Implementations§
Source§impl Clone for DeleteAuthMethods
impl Clone for DeleteAuthMethods
Source§fn clone(&self) -> DeleteAuthMethods
fn clone(&self) -> DeleteAuthMethods
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 DeleteAuthMethods
impl Debug for DeleteAuthMethods
Source§impl Default for DeleteAuthMethods
impl Default for DeleteAuthMethods
Source§fn default() -> DeleteAuthMethods
fn default() -> DeleteAuthMethods
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteAuthMethods
impl<'de> Deserialize<'de> for DeleteAuthMethods
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 DeleteAuthMethods
impl PartialEq for DeleteAuthMethods
Source§fn eq(&self, other: &DeleteAuthMethods) -> bool
fn eq(&self, other: &DeleteAuthMethods) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DeleteAuthMethods
impl Serialize for DeleteAuthMethods
impl StructuralPartialEq for DeleteAuthMethods
Auto Trait Implementations§
impl Freeze for DeleteAuthMethods
impl RefUnwindSafe for DeleteAuthMethods
impl Send for DeleteAuthMethods
impl Sync for DeleteAuthMethods
impl Unpin for DeleteAuthMethods
impl UnsafeUnpin for DeleteAuthMethods
impl UnwindSafe for DeleteAuthMethods
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