pub struct TicketClaims { /* private fields */ }Expand description
Verified read-ticket claims.
Implementations§
Source§impl TicketClaims
impl TicketClaims
Sourcepub fn content_sha256(&self) -> Option<&str>
pub fn content_sha256(&self) -> Option<&str>
Returns the content SHA-256 bound into the ticket, when present.
Trait Implementations§
Source§impl Clone for TicketClaims
impl Clone for TicketClaims
Source§fn clone(&self) -> TicketClaims
fn clone(&self) -> TicketClaims
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 TicketClaims
impl Debug for TicketClaims
impl Eq for TicketClaims
Source§impl PartialEq for TicketClaims
impl PartialEq for TicketClaims
Source§fn eq(&self, other: &TicketClaims) -> bool
fn eq(&self, other: &TicketClaims) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TicketClaims
Auto Trait Implementations§
impl Freeze for TicketClaims
impl RefUnwindSafe for TicketClaims
impl Send for TicketClaims
impl Sync for TicketClaims
impl Unpin for TicketClaims
impl UnsafeUnpin for TicketClaims
impl UnwindSafe for TicketClaims
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