#[repr(u8)]pub enum AdminTypeDiscriminants {
Protocol = 0,
Funding = 1,
Pricing = 2,
FeeTier = 3,
Credits = 4,
Referrals = 5,
}Expand description
Auto-generated discriminant enum variants
Variants§
Trait Implementations§
Source§impl Clone for AdminTypeDiscriminants
impl Clone for AdminTypeDiscriminants
Source§fn clone(&self) -> AdminTypeDiscriminants
fn clone(&self) -> AdminTypeDiscriminants
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 AdminTypeDiscriminants
impl Debug for AdminTypeDiscriminants
Source§impl Display for AdminTypeDiscriminants
impl Display for AdminTypeDiscriminants
Source§impl<'_enum> From<&'_enum AdminType> for AdminTypeDiscriminants
impl<'_enum> From<&'_enum AdminType> for AdminTypeDiscriminants
Source§fn from(val: &'_enum AdminType) -> AdminTypeDiscriminants
fn from(val: &'_enum AdminType) -> AdminTypeDiscriminants
Converts to this type from the input type.
Source§impl From<AdminType> for AdminTypeDiscriminants
impl From<AdminType> for AdminTypeDiscriminants
Source§fn from(val: AdminType) -> AdminTypeDiscriminants
fn from(val: AdminType) -> AdminTypeDiscriminants
Converts to this type from the input type.
Source§impl FromStr for AdminTypeDiscriminants
impl FromStr for AdminTypeDiscriminants
Source§impl PartialEq for AdminTypeDiscriminants
impl PartialEq for AdminTypeDiscriminants
Source§fn eq(&self, other: &AdminTypeDiscriminants) -> bool
fn eq(&self, other: &AdminTypeDiscriminants) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<&str> for AdminTypeDiscriminants
impl TryFrom<&str> for AdminTypeDiscriminants
impl Copy for AdminTypeDiscriminants
impl Eq for AdminTypeDiscriminants
impl StructuralPartialEq for AdminTypeDiscriminants
Auto Trait Implementations§
impl Freeze for AdminTypeDiscriminants
impl RefUnwindSafe for AdminTypeDiscriminants
impl Send for AdminTypeDiscriminants
impl Sync for AdminTypeDiscriminants
impl Unpin for AdminTypeDiscriminants
impl UnsafeUnpin for AdminTypeDiscriminants
impl UnwindSafe for AdminTypeDiscriminants
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