pub enum Field32AmountCD {
C(Field32C),
D(Field32D),
}
Expand description
Field32AmountCD: Credit or Debit
Used in MT190 and similar messages. Supports 32C (credit) or 32D (debit).
Variants§
Trait Implementations§
Source§impl Clone for Field32AmountCD
impl Clone for Field32AmountCD
Source§fn clone(&self) -> Field32AmountCD
fn clone(&self) -> Field32AmountCD
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 Field32AmountCD
impl Debug for Field32AmountCD
Source§impl<'de> Deserialize<'de> for Field32AmountCD
impl<'de> Deserialize<'de> for Field32AmountCD
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 Field32AmountCD
impl PartialEq for Field32AmountCD
Source§impl Serialize for Field32AmountCD
impl Serialize for Field32AmountCD
Source§impl SwiftField for Field32AmountCD
impl SwiftField for Field32AmountCD
Source§fn parse(input: &str) -> Result<Self>where
Self: Sized,
fn parse(input: &str) -> Result<Self>where
Self: Sized,
Parse field from SWIFT format (without
:TAG:
prefix)Source§fn parse_with_variant(
value: &str,
variant: Option<&str>,
_field_tag: Option<&str>,
) -> Result<Self>where
Self: Sized,
fn parse_with_variant(
value: &str,
variant: Option<&str>,
_field_tag: Option<&str>,
) -> Result<Self>where
Self: Sized,
Parse field with variant (e.g., 50A, 50K) for enum fields
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Convert to SWIFT format (includes
:TAG:
prefix)Source§fn get_variant_tag(&self) -> Option<&'static str>
fn get_variant_tag(&self) -> Option<&'static str>
Get variant tag (e.g., “A”, “K”) for enum fields, None for simple fields
impl StructuralPartialEq for Field32AmountCD
Auto Trait Implementations§
impl Freeze for Field32AmountCD
impl RefUnwindSafe for Field32AmountCD
impl Send for Field32AmountCD
impl Sync for Field32AmountCD
impl Unpin for Field32AmountCD
impl UnwindSafe for Field32AmountCD
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more