#[repr(u8)]pub enum TransferType {
Regular = 0,
CorporateAction = 1,
Conversion = 2,
Redemption = 3,
}Expand description
Transfer type
Variants§
Regular = 0
Regular transfer
CorporateAction = 1
Transfer via corporate action
Conversion = 2
Transfer via conversion
Redemption = 3
Transfer via redemption
Trait Implementations§
Source§impl Clone for TransferType
impl Clone for TransferType
Source§fn clone(&self) -> TransferType
fn clone(&self) -> TransferType
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 TransferType
impl Debug for TransferType
Source§impl<'de> Deserialize<'de> for TransferType
impl<'de> Deserialize<'de> for TransferType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TransferType
impl Hash for TransferType
Source§impl PartialEq for TransferType
impl PartialEq for TransferType
Source§fn eq(&self, other: &TransferType) -> bool
fn eq(&self, other: &TransferType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TransferType
impl Serialize for TransferType
impl Copy for TransferType
impl Eq for TransferType
impl StructuralPartialEq for TransferType
Auto Trait Implementations§
impl Freeze for TransferType
impl RefUnwindSafe for TransferType
impl Send for TransferType
impl Sync for TransferType
impl Unpin for TransferType
impl UnsafeUnpin for TransferType
impl UnwindSafe for TransferType
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