pub enum Field11 {
R(Field11R),
S(Field11S),
}
Expand description
Field 11 Enum: MT Reference Options
Enum wrapper for Field 11 module variants providing message referencing capability for acknowledgment, cancellation, and status inquiry scenarios.
For complete documentation, see the Field 11 module.
Variants§
R(Field11R)
Option R: Used in acknowledgment and response contexts Common in confirmation messages and status responses
S(Field11S)
Option S: Used in cancellation and status inquiry contexts Essential for transaction control and exception handling
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field11
impl<'de> Deserialize<'de> for Field11
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 Field11
impl SwiftField for Field11
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 Field11
Auto Trait Implementations§
impl Freeze for Field11
impl RefUnwindSafe for Field11
impl Send for Field11
impl Sync for Field11
impl Unpin for Field11
impl UnwindSafe for Field11
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