Struct Refusal
pub struct Refusal {
pub source: String,
pub position: Option<usize>,
pub trade: Option<String>,
pub error: FpmlError,
}Expand description
A trade, or a document, that was not booked, and why.
Fields§
§source: StringThe label of the document it came from.
position: Option<usize>Its one-based position in the document; None where the document
itself could not be read.
trade: Option<String>Its identifier, where one was read.
error: FpmlErrorWhy it was not booked.
Trait Implementations§
§impl Error for Refusal
impl Error for Refusal
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()
impl StructuralPartialEq for Refusal
Auto Trait Implementations§
impl Freeze for Refusal
impl RefUnwindSafe for Refusal
impl Send for Refusal
impl Sync for Refusal
impl Unpin for Refusal
impl UnsafeUnpin for Refusal
impl UnwindSafe for Refusal
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