#[repr(i32)]pub enum TransferState {
Accepted = 0,
Rejected = 1,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TransferState
impl Clone for TransferState
Source§fn clone(&self) -> TransferState
fn clone(&self) -> TransferState
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 TransferState
impl Debug for TransferState
Source§impl Default for TransferState
impl Default for TransferState
Source§fn default() -> TransferState
fn default() -> TransferState
Returns the “default value” for a type. Read more
Source§impl From<TransferState> for i32
impl From<TransferState> for i32
Source§fn from(value: TransferState) -> i32
fn from(value: TransferState) -> i32
Converts to this type from the input type.
Source§impl Hash for TransferState
impl Hash for TransferState
Source§impl Ord for TransferState
impl Ord for TransferState
Source§fn cmp(&self, other: &TransferState) -> Ordering
fn cmp(&self, other: &TransferState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransferState
impl PartialEq for TransferState
Source§impl PartialOrd for TransferState
impl PartialOrd for TransferState
impl Copy for TransferState
impl Eq for TransferState
impl StructuralPartialEq for TransferState
Auto Trait Implementations§
impl Freeze for TransferState
impl RefUnwindSafe for TransferState
impl Send for TransferState
impl Sync for TransferState
impl Unpin for TransferState
impl UnwindSafe for TransferState
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