pub enum Field32 {
A(Field32A),
B(Field32B),
C(Field32C),
D(Field32D),
}
Expand description
Field 32 Enum: Value Date, Currency, Amount Variants
Enum wrapper for Field 32 module variants providing different levels of settlement information detail.
For complete documentation, see the Field 32 module.
Variants§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field32
impl<'de> Deserialize<'de> for Field32
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 SwiftField for Field32
impl SwiftField for Field32
Source§fn parse_with_variant(
value: &str,
variant: Option<&str>,
field_tag: Option<&str>,
) -> Result<Self>
fn parse_with_variant( value: &str, variant: Option<&str>, field_tag: Option<&str>, ) -> Result<Self>
Parse field value with variant hint for enum fields
Default implementation falls back to regular parse
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Convert field back to SWIFT string format
Source§fn format_spec() -> &'static str
fn format_spec() -> &'static str
Get field format specification
impl StructuralPartialEq for Field32
Auto Trait Implementations§
impl Freeze for Field32
impl RefUnwindSafe for Field32
impl Send for Field32
impl Sync for Field32
impl Unpin for Field32
impl UnwindSafe for Field32
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> 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