pub struct UpdateAssoc {
pub assoc_id: String,
pub case_sensitive: Option<String>,
pub json: Option<bool>,
pub sub_claims: Option<HashMap<String, String>>,
pub token: Option<String>,
pub uid_token: Option<String>,
}Expand description
UpdateAssoc : updateAssoc is a command that updates the sub-claims of an association between role and auth method.
Fields§
§assoc_id: StringThe association id to be updated
case_sensitive: Option<String>Treat sub claims as case-sensitive [true/false]
json: Option<bool>Set output format to JSON
sub_claims: Option<HashMap<String, String>>key/val of sub claims, e.g group=admins,developers
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 UpdateAssoc
impl UpdateAssoc
Sourcepub fn new(assoc_id: String) -> UpdateAssoc
pub fn new(assoc_id: String) -> UpdateAssoc
updateAssoc is a command that updates the sub-claims of an association between role and auth method.
Trait Implementations§
Source§impl Clone for UpdateAssoc
impl Clone for UpdateAssoc
Source§fn clone(&self) -> UpdateAssoc
fn clone(&self) -> UpdateAssoc
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 UpdateAssoc
impl Debug for UpdateAssoc
Source§impl Default for UpdateAssoc
impl Default for UpdateAssoc
Source§fn default() -> UpdateAssoc
fn default() -> UpdateAssoc
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAssoc
impl<'de> Deserialize<'de> for UpdateAssoc
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 UpdateAssoc
impl PartialEq for UpdateAssoc
Source§fn eq(&self, other: &UpdateAssoc) -> bool
fn eq(&self, other: &UpdateAssoc) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UpdateAssoc
impl Serialize for UpdateAssoc
impl StructuralPartialEq for UpdateAssoc
Auto Trait Implementations§
impl Freeze for UpdateAssoc
impl RefUnwindSafe for UpdateAssoc
impl Send for UpdateAssoc
impl Sync for UpdateAssoc
impl Unpin for UpdateAssoc
impl UnsafeUnpin for UpdateAssoc
impl UnwindSafe for UpdateAssoc
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