pub struct GrantEnvelopeV2Payload {
pub biscuit_authority_public_key: [u8; 32],
pub device_proof_public_key: [u8; 32],
pub subject: String,
pub rights: Vec<GrantEnvelopeV2Right>,
pub issued_at: i64,
pub expires_at: i64,
}Expand description
The fields covered by a GrantEnvelope v2 server signature.
Fields§
§device_proof_public_key: [u8; 32]§subject: String§rights: Vec<GrantEnvelopeV2Right>§issued_at: i64§expires_at: i64Trait Implementations§
Source§impl Clone for GrantEnvelopeV2Payload
impl Clone for GrantEnvelopeV2Payload
Source§fn clone(&self) -> GrantEnvelopeV2Payload
fn clone(&self) -> GrantEnvelopeV2Payload
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 GrantEnvelopeV2Payload
impl Debug for GrantEnvelopeV2Payload
impl Eq for GrantEnvelopeV2Payload
Source§impl PartialEq for GrantEnvelopeV2Payload
impl PartialEq for GrantEnvelopeV2Payload
impl StructuralPartialEq for GrantEnvelopeV2Payload
Auto Trait Implementations§
impl Freeze for GrantEnvelopeV2Payload
impl RefUnwindSafe for GrantEnvelopeV2Payload
impl Send for GrantEnvelopeV2Payload
impl Sync for GrantEnvelopeV2Payload
impl Unpin for GrantEnvelopeV2Payload
impl UnsafeUnpin for GrantEnvelopeV2Payload
impl UnwindSafe for GrantEnvelopeV2Payload
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