pub struct GetRole {
pub json: Option<bool>,
pub name: String,
pub token: Option<String>,
pub uid_token: Option<String>,
}Fields§
§json: Option<bool>Set output format to JSON
name: StringRole 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§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GetRole
impl<'de> Deserialize<'de> for GetRole
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
impl StructuralPartialEq for GetRole
Auto Trait Implementations§
impl Freeze for GetRole
impl RefUnwindSafe for GetRole
impl Send for GetRole
impl Sync for GetRole
impl Unpin for GetRole
impl UnsafeUnpin for GetRole
impl UnwindSafe for GetRole
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