pub struct GenericNameAddressField {
pub name_and_address: Vec<String>,
}
Expand description
Generic Name and Address Field
Used for structured name and address information. Format: 4*35x (up to 4 lines, 35 characters each) Validation: line_count, line_length, structured_address
Fields§
§name_and_address: Vec<String>
Lines of name and address information
Implementations§
Source§impl GenericNameAddressField
impl GenericNameAddressField
Sourcepub fn from_raw(content: &str) -> Result<Self, ParseError>
pub fn from_raw(content: &str) -> Result<Self, ParseError>
Parse from raw string content
Trait Implementations§
Source§impl Clone for GenericNameAddressField
impl Clone for GenericNameAddressField
Source§fn clone(&self) -> GenericNameAddressField
fn clone(&self) -> GenericNameAddressField
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for GenericNameAddressField
impl Debug for GenericNameAddressField
Source§impl<'de> Deserialize<'de> for GenericNameAddressField
impl<'de> Deserialize<'de> for GenericNameAddressField
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 Display for GenericNameAddressField
impl Display for GenericNameAddressField
Source§impl PartialEq for GenericNameAddressField
impl PartialEq for GenericNameAddressField
Source§fn eq(&self, other: &GenericNameAddressField) -> bool
fn eq(&self, other: &GenericNameAddressField) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for GenericNameAddressField
impl Serialize for GenericNameAddressField
Source§impl SwiftField for GenericNameAddressField
impl SwiftField for GenericNameAddressField
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 GenericNameAddressField
Auto Trait Implementations§
impl Freeze for GenericNameAddressField
impl RefUnwindSafe for GenericNameAddressField
impl Send for GenericNameAddressField
impl Sync for GenericNameAddressField
impl Unpin for GenericNameAddressField
impl UnwindSafe for GenericNameAddressField
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