pub struct IdToken {
pub custom_data: Option<CustomData>,
pub additional_info: Option<Vec<AdditionalInfo>>,
pub id_token: String,
pub type: IdTokenEnum,
}Expand description
Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
Fields§
§custom_data: Option<CustomData>§additional_info: Option<Vec<AdditionalInfo>>§id_token: StringIdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
type: IdTokenEnumTrait Implementations§
Source§impl<'de> Deserialize<'de> for IdToken
impl<'de> Deserialize<'de> for IdToken
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 IdToken
Auto Trait Implementations§
impl Freeze for IdToken
impl RefUnwindSafe for IdToken
impl Send for IdToken
impl Sync for IdToken
impl Unpin for IdToken
impl UnsafeUnpin for IdToken
impl UnwindSafe for IdToken
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