pub struct TransferOutcome {
pub status: TransferStatus,
pub reasons: Vec<String>,
}Expand description
The full outcome: a status plus the reasons it is not TransferStatus::Admitted
(empty exactly when admitted).
Fields§
§status: TransferStatus§reasons: Vec<String>Implementations§
Source§impl TransferOutcome
impl TransferOutcome
pub fn is_admitted(&self) -> bool
Trait Implementations§
Source§impl Clone for TransferOutcome
impl Clone for TransferOutcome
Source§fn clone(&self) -> TransferOutcome
fn clone(&self) -> TransferOutcome
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 TransferOutcome
impl Debug for TransferOutcome
impl Eq for TransferOutcome
Source§impl PartialEq for TransferOutcome
impl PartialEq for TransferOutcome
impl StructuralPartialEq for TransferOutcome
Auto Trait Implementations§
impl Freeze for TransferOutcome
impl RefUnwindSafe for TransferOutcome
impl Send for TransferOutcome
impl Sync for TransferOutcome
impl Unpin for TransferOutcome
impl UnsafeUnpin for TransferOutcome
impl UnwindSafe for TransferOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.