#[repr(u8)]pub enum GuildsAccount {
Config = 100,
Guild = 101,
Member = 102,
Invite = 103,
}Variants§
Trait Implementations§
Source§impl Clone for GuildsAccount
impl Clone for GuildsAccount
Source§fn clone(&self) -> GuildsAccount
fn clone(&self) -> GuildsAccount
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 GuildsAccount
impl Debug for GuildsAccount
Source§impl From<GuildsAccount> for u8
impl From<GuildsAccount> for u8
Source§fn from(enum_value: GuildsAccount) -> Self
fn from(enum_value: GuildsAccount) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GuildsAccount
impl PartialEq for GuildsAccount
Source§impl TryFrom<u8> for GuildsAccount
impl TryFrom<u8> for GuildsAccount
Source§type Error = TryFromPrimitiveError<GuildsAccount>
type Error = TryFromPrimitiveError<GuildsAccount>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for GuildsAccount
impl TryFromPrimitive for GuildsAccount
const NAME: &'static str = "GuildsAccount"
type Primitive = u8
type Error = TryFromPrimitiveError<GuildsAccount>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for GuildsAccount
impl Eq for GuildsAccount
impl StructuralPartialEq for GuildsAccount
Auto Trait Implementations§
impl Freeze for GuildsAccount
impl RefUnwindSafe for GuildsAccount
impl Send for GuildsAccount
impl Sync for GuildsAccount
impl Unpin for GuildsAccount
impl UnwindSafe for GuildsAccount
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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