pub struct WsTicket {
pub token: String,
pub scope: String,
pub expires_at: i64,
}Expand description
A minted ticket: its compact string form plus the parsed expiry, so a mint
surface can return { ticket, scope, expires_at } without re-parsing.
Fields§
§token: String§scope: String§expires_at: i64Trait Implementations§
impl Eq for WsTicket
impl StructuralPartialEq for WsTicket
Auto Trait Implementations§
impl Freeze for WsTicket
impl RefUnwindSafe for WsTicket
impl Send for WsTicket
impl Sync for WsTicket
impl Unpin for WsTicket
impl UnsafeUnpin for WsTicket
impl UnwindSafe for WsTicket
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.