pub struct SwiftRelationError {
pub code: String,
pub field: String,
pub related_fields: Vec<String>,
pub instruction_context: Option<String>,
pub message: String,
pub rule_description: String,
pub context: Option<String>,
}Expand description
E-Series: Enhanced/Field Relation Validation Error
Fields§
§code: StringSWIFT error code (e.g., “E01”, “E15”)
field: StringPrimary field tag involved
Related field tags that affect this validation
instruction_context: Option<String>Instruction code or option that caused the error
message: StringHuman-readable error message
rule_description: StringRelationship rule that was violated
context: Option<String>Additional context for error recovery
Trait Implementations§
Source§impl Clone for SwiftRelationError
impl Clone for SwiftRelationError
Source§fn clone(&self) -> SwiftRelationError
fn clone(&self) -> SwiftRelationError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SwiftRelationError
impl Debug for SwiftRelationError
Source§impl<'de> Deserialize<'de> for SwiftRelationError
impl<'de> Deserialize<'de> for SwiftRelationError
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 SwiftRelationError
impl Display for SwiftRelationError
Source§impl Error for SwiftRelationError
impl Error for SwiftRelationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for SwiftRelationError
impl RefUnwindSafe for SwiftRelationError
impl Send for SwiftRelationError
impl Sync for SwiftRelationError
impl Unpin for SwiftRelationError
impl UnsafeUnpin for SwiftRelationError
impl UnwindSafe for SwiftRelationError
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