pub enum TransactionChannel1Code {
CodeMAIL,
CodeTLPH,
CodeECOM,
CodeTVPY,
}Variants§
Implementations§
Source§impl TransactionChannel1Code
impl TransactionChannel1Code
pub fn validate(&self) -> Result<(), ValidationError>
Trait Implementations§
Source§impl Clone for TransactionChannel1Code
impl Clone for TransactionChannel1Code
Source§fn clone(&self) -> TransactionChannel1Code
fn clone(&self) -> TransactionChannel1Code
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 TransactionChannel1Code
impl Debug for TransactionChannel1Code
Source§impl Default for TransactionChannel1Code
impl Default for TransactionChannel1Code
Source§fn default() -> TransactionChannel1Code
fn default() -> TransactionChannel1Code
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionChannel1Code
impl<'de> Deserialize<'de> for TransactionChannel1Code
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 PartialEq for TransactionChannel1Code
impl PartialEq for TransactionChannel1Code
Source§impl Serialize for TransactionChannel1Code
impl Serialize for TransactionChannel1Code
impl StructuralPartialEq for TransactionChannel1Code
Auto Trait Implementations§
impl Freeze for TransactionChannel1Code
impl RefUnwindSafe for TransactionChannel1Code
impl Send for TransactionChannel1Code
impl Sync for TransactionChannel1Code
impl Unpin for TransactionChannel1Code
impl UnwindSafe for TransactionChannel1Code
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