pub struct PublicInviteRecord {
pub token: String,
pub community_id: String,
pub url: String,
pub expires_at: Option<i64>,
pub created_at: i64,
pub label: Option<String>,
pub join_count: u64,
}Expand description
A minted public-invite link the owner retains (to list + revoke).
Fields§
§token: StringHex token (the link’s whole secret; lives only in the local account DB).
community_id: String§url: String§expires_at: Option<i64>§created_at: i64§label: Option<String>Optional human label set at mint time (e.g. “Twitter”, “Discord”). None if unset.
join_count: u64Distinct members who joined via this link (by label attribution). 0 if none/unknown.
Trait Implementations§
Source§impl Clone for PublicInviteRecord
impl Clone for PublicInviteRecord
Source§fn clone(&self) -> PublicInviteRecord
fn clone(&self) -> PublicInviteRecord
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 PublicInviteRecord
impl Debug for PublicInviteRecord
Auto Trait Implementations§
impl Freeze for PublicInviteRecord
impl RefUnwindSafe for PublicInviteRecord
impl Send for PublicInviteRecord
impl Sync for PublicInviteRecord
impl Unpin for PublicInviteRecord
impl UnsafeUnpin for PublicInviteRecord
impl UnwindSafe for PublicInviteRecord
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more