pub struct Grant {
pub iss: String,
pub sub: String,
pub aud: String,
pub jti: String,
pub iat: u64,
pub exp: u64,
pub host_id: String,
pub host_public_key: PublicKey,
pub client_public_key: Option<PublicKey>,
pub challenge: String,
pub boot_id: Option<String>,
}Expand description
Cloud claims are short-lived evidence for registration, never LAN bearer credentials.
Fields§
§iss: String§sub: String§aud: String§jti: String§iat: u64§exp: u64§host_id: String§host_public_key: PublicKey§client_public_key: Option<PublicKey>§challenge: String§boot_id: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Grant
impl<'de> Deserialize<'de> for Grant
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
Auto Trait Implementations§
impl Freeze for Grant
impl RefUnwindSafe for Grant
impl Send for Grant
impl Sync for Grant
impl Unpin for Grant
impl UnsafeUnpin for Grant
impl UnwindSafe for Grant
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