Struct atrium_api::com::atproto::server::defs::InviteCode
source · pub struct InviteCode {
pub available: i64,
pub code: String,
pub created_at: Datetime,
pub created_by: String,
pub disabled: bool,
pub for_account: String,
pub uses: Vec<InviteCodeUse>,
}
Fields§
§available: i64
§code: String
§created_at: Datetime
§created_by: String
§disabled: bool
§for_account: String
§uses: Vec<InviteCodeUse>
Trait Implementations§
source§impl Clone for InviteCode
impl Clone for InviteCode
source§fn clone(&self) -> InviteCode
fn clone(&self) -> InviteCode
Returns a copy of the value. Read more
1.0.0 · 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 InviteCode
impl Debug for InviteCode
source§impl<'de> Deserialize<'de> for InviteCode
impl<'de> Deserialize<'de> for InviteCode
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
source§impl PartialEq for InviteCode
impl PartialEq for InviteCode
source§fn eq(&self, other: &InviteCode) -> bool
fn eq(&self, other: &InviteCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for InviteCode
impl Serialize for InviteCode
impl Eq for InviteCode
impl StructuralPartialEq for InviteCode
Auto Trait Implementations§
impl RefUnwindSafe for InviteCode
impl Send for InviteCode
impl Sync for InviteCode
impl Unpin for InviteCode
impl UnwindSafe for InviteCode
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