pub struct InviteSummary {
pub token_fingerprint: String,
pub group: String,
pub remaining_uses: u32,
pub expires_at_epoch: Option<u64>,
pub issued_at_epoch: u64,
pub metadata: Option<String>,
}Expand description
Summary of an outstanding invite returned by
AdminRequestKind::InviteList.
Fields§
§token_fingerprint: StringSHA-256 fingerprint (hex) of the token — the kernel does not
leak the raw token through list responses. Issuers retain the
raw value from the original InviteIssued response.
group: StringGroup the redeemer will join.
remaining_uses: u32Remaining redemptions.
expires_at_epoch: Option<u64>Wall-clock Unix-epoch timestamp at which the token expires.
issued_at_epoch: u64Wall-clock Unix-epoch timestamp at which the token was issued.
metadata: Option<String>Operator-supplied label.
Trait Implementations§
Source§impl Clone for InviteSummary
impl Clone for InviteSummary
Source§fn clone(&self) -> InviteSummary
fn clone(&self) -> InviteSummary
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 InviteSummary
impl Debug for InviteSummary
Source§impl<'de> Deserialize<'de> for InviteSummary
impl<'de> Deserialize<'de> for InviteSummary
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 Eq for InviteSummary
Source§impl PartialEq for InviteSummary
impl PartialEq for InviteSummary
Source§fn eq(&self, other: &InviteSummary) -> bool
fn eq(&self, other: &InviteSummary) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for InviteSummary
impl Serialize for InviteSummary
impl StructuralPartialEq for InviteSummary
Auto Trait Implementations§
impl Freeze for InviteSummary
impl RefUnwindSafe for InviteSummary
impl Send for InviteSummary
impl Sync for InviteSummary
impl Unpin for InviteSummary
impl UnsafeUnpin for InviteSummary
impl UnwindSafe for InviteSummary
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.