pub struct AccountAdjustmentBatchError {
pub rejects: Rejects,
pub failed_adjustment_index: usize,
}Expand description
Error returned when account-adjustment batch validation fails.
Fields§
§rejects: RejectsRejects produced by the policy.
failed_adjustment_index: usizeZero-based index of the failing adjustment.
Trait Implementations§
Source§impl Clone for AccountAdjustmentBatchError
impl Clone for AccountAdjustmentBatchError
Source§fn clone(&self) -> AccountAdjustmentBatchError
fn clone(&self) -> AccountAdjustmentBatchError
Returns a duplicate of the value. Read more
1.0.0 · 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 AccountAdjustmentBatchError
impl Debug for AccountAdjustmentBatchError
Source§impl Error for AccountAdjustmentBatchError
impl Error for AccountAdjustmentBatchError
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 Eq for AccountAdjustmentBatchError
impl StructuralPartialEq for AccountAdjustmentBatchError
Auto Trait Implementations§
impl Freeze for AccountAdjustmentBatchError
impl RefUnwindSafe for AccountAdjustmentBatchError
impl Send for AccountAdjustmentBatchError
impl Sync for AccountAdjustmentBatchError
impl Unpin for AccountAdjustmentBatchError
impl UnsafeUnpin for AccountAdjustmentBatchError
impl UnwindSafe for AccountAdjustmentBatchError
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