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