pub struct AccountLimitations {
pub is_limited: bool,
pub is_community_banned: bool,
pub is_locked: bool,
pub can_invite_friends: bool,
}Expand description
Account limitations information.
Fields§
§is_limited: boolWhether this is a limited account.
is_community_banned: boolWhether the account is community banned.
is_locked: boolWhether the account is locked.
can_invite_friends: boolWhether limited accounts can invite friends.
Trait Implementations§
Source§impl Clone for AccountLimitations
impl Clone for AccountLimitations
Source§fn clone(&self) -> AccountLimitations
fn clone(&self) -> AccountLimitations
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 moreAuto Trait Implementations§
impl Freeze for AccountLimitations
impl RefUnwindSafe for AccountLimitations
impl Send for AccountLimitations
impl Sync for AccountLimitations
impl Unpin for AccountLimitations
impl UnsafeUnpin for AccountLimitations
impl UnwindSafe for AccountLimitations
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