#[repr(u8)]pub enum DenominationDisableMode {
Get = 0,
Set = 1,
Reserved = 255,
}Expand description
Represents the request mode for the [DenominationDisableRequest].
Variants§
Implementations§
Source§impl DenominationDisableMode
impl DenominationDisableMode
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new DenominationDisableMode.
pub const fn from_request_type(val: RequestType) -> Self
pub const fn to_request_type(&self) -> RequestType
Trait Implementations§
Source§impl Clone for DenominationDisableMode
impl Clone for DenominationDisableMode
Source§fn clone(&self) -> DenominationDisableMode
fn clone(&self) -> DenominationDisableMode
Returns a duplicate 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 DenominationDisableMode
impl Debug for DenominationDisableMode
Source§impl Default for DenominationDisableMode
impl Default for DenominationDisableMode
Source§impl PartialEq for DenominationDisableMode
impl PartialEq for DenominationDisableMode
Source§impl TryFrom<&DenominationDisableMode> for RequestType
impl TryFrom<&DenominationDisableMode> for RequestType
Source§impl TryFrom<&RequestType> for DenominationDisableMode
impl TryFrom<&RequestType> for DenominationDisableMode
Source§impl TryFrom<DenominationDisableMode> for RequestType
impl TryFrom<DenominationDisableMode> for RequestType
Source§impl TryFrom<RequestType> for DenominationDisableMode
impl TryFrom<RequestType> for DenominationDisableMode
impl Copy for DenominationDisableMode
impl Eq for DenominationDisableMode
impl StructuralPartialEq for DenominationDisableMode
Auto Trait Implementations§
impl Freeze for DenominationDisableMode
impl RefUnwindSafe for DenominationDisableMode
impl Send for DenominationDisableMode
impl Sync for DenominationDisableMode
impl Unpin for DenominationDisableMode
impl UnwindSafe for DenominationDisableMode
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