pub struct Field13D {
pub date: NaiveDate,
pub time: NaiveTime,
pub offset_sign: char,
pub offset_seconds: String,
}
Expand description
Field 13D: Date/Time Indication
Complete date/time variant of Field 13 module. Specifies complete date and time indication with UTC offset for precise timestamp documentation.
Components:
- Date (6!n, YYMMDD format)
- Time (4!n, HHMM format)
- UTC offset sign (1!x, + or -)
- UTC offset amount (4!n)
For complete documentation, see the Field 13 module.
Fields§
§date: NaiveDate
Date component in YYMMDD format
Format: 6!n - Must be valid calendar date Used for complete date specification with time
time: NaiveTime
Time component in HHMM format
Format: 4!n - 24-hour clock (00:00 to 23:59) Provides precise time specification
offset_sign: char
UTC offset direction sign
Format: 1!x - Must be + (ahead of UTC) or - (behind UTC) Indicates timezone relationship to UTC
offset_seconds: String
UTC offset amount
Format: 4!n - HHMM format for hours and minutes Specifies the numerical offset from UTC
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field13D
impl<'de> Deserialize<'de> for Field13D
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 Field13D
impl SwiftField for Field13D
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 Field13D
Auto Trait Implementations§
impl Freeze for Field13D
impl RefUnwindSafe for Field13D
impl Send for Field13D
impl Sync for Field13D
impl Unpin for Field13D
impl UnwindSafe for Field13D
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