pub struct IdToken {
pub additional_info: Option<Vec<AdditionalInfo>>,
pub id_token: String,
pub type: String,
pub custom_data: Option<CustomData>,
}Expand description
Contains a case insensitive identifier to use for the authorization and the type of authorization to support multiple forms of identifiers.
Fields§
§additional_info: Option<Vec<AdditionalInfo>>§id_token: String(2.1) IdToken is case insensitive. Might hold the hidden id of an RFID tag, but can for example also contain a UUID.
type: String(2.1) Enumeration of possible idToken types. Values defined in Appendix as IdTokenEnumStringType.
custom_data: Option<CustomData>Trait 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