pub struct GenericPartyField {
pub party_identifier: String,
}
Expand description
Generic Party Field
Used for party identification fields. Format: 35x (up to 35 alphanumeric characters) Validation: party_identifier_format
Fields§
§party_identifier: String
Party identifier
Implementations§
Source§impl GenericPartyField
impl GenericPartyField
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 GenericPartyField
impl Clone for GenericPartyField
Source§fn clone(&self) -> GenericPartyField
fn clone(&self) -> GenericPartyField
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 GenericPartyField
impl Debug for GenericPartyField
Source§impl<'de> Deserialize<'de> for GenericPartyField
impl<'de> Deserialize<'de> for GenericPartyField
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 GenericPartyField
impl Display for GenericPartyField
Source§impl PartialEq for GenericPartyField
impl PartialEq for GenericPartyField
Source§impl Serialize for GenericPartyField
impl Serialize for GenericPartyField
Source§impl SwiftField for GenericPartyField
impl SwiftField for GenericPartyField
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 GenericPartyField
Auto Trait Implementations§
impl Freeze for GenericPartyField
impl RefUnwindSafe for GenericPartyField
impl Send for GenericPartyField
impl Sync for GenericPartyField
impl Unpin for GenericPartyField
impl UnwindSafe for GenericPartyField
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