pub struct Field13C {
pub code: String,
pub time: String,
pub sign: String,
pub offset: String,
}Expand description
Field 13C: Time Indication
Time indication variant of Field 13 module. Specifies time indication related to payment processing with timezone offset and specific timing codes.
Components:
- Time indication code (/8c/, e.g., SNDTIME, CLSTIME)
- Time (4!n, HHMM format)
- UTC offset sign (1!x, + or -)
- UTC offset amount (4!n, HHMM format)
For complete documentation, see the Field 13 module.
Fields§
§code: StringTime indication code with slashes
Format: /8c/ - Valid codes: SNDTIME, CLSTIME, RNCTIME, REJTIME, CUTTIME Specifies the type of time being indicated
time: StringTime in 24-hour format
Format: 4!n (HHMM) - Must be valid time (00:00 to 23:59) Represents the actual time for the indicated event
sign: StringTimezone offset sign
Format: 1!x - Must be + (ahead of UTC) or - (behind UTC) Indicates direction of timezone offset from UTC
offset: StringTimezone offset amount
Format: 4!n (HHMM) - Hours (00-13), Minutes (00-59) Specifies the offset from UTC time
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field13C
impl<'de> Deserialize<'de> for Field13C
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 Field13C
impl SwiftField for Field13C
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 Field13C
Auto Trait Implementations§
impl Freeze for Field13C
impl RefUnwindSafe for Field13C
impl Send for Field13C
impl Sync for Field13C
impl Unpin for Field13C
impl UnwindSafe for Field13C
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