pub struct Field37H {
pub rate_indicator: char,
pub is_negative: Option<bool>,
pub rate: f64,
}
Expand description
§Field 37H: Interest Rate
Format: 1!a[N]12d (indicator + optional negative + rate) Validation: rate_format, positive_rate
Fields§
§rate_indicator: char
Rate type indicator (1!a format: C or D)
is_negative: Option<bool>
Whether this is a negative rate
rate: f64
Rate value (12d format, percentage)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Field37H
impl<'de> Deserialize<'de> for Field37H
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 Field37H
impl SwiftField for Field37H
Source§fn to_swift_string(&self) -> String
fn to_swift_string(&self) -> String
Convert field back to SWIFT string format
Source§fn validate(&self) -> ValidationResult
fn validate(&self) -> ValidationResult
Validate field according to SWIFT format rules
Source§fn format_spec() -> &'static str
fn format_spec() -> &'static str
Get field format specification
impl StructuralPartialEq for Field37H
Auto Trait Implementations§
impl Freeze for Field37H
impl RefUnwindSafe for Field37H
impl Send for Field37H
impl Sync for Field37H
impl Unpin for Field37H
impl UnwindSafe for Field37H
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