Struct NotACollateralCurrency
pub struct NotACollateralCurrency {
pub given: String,
}Expand description
A collateral argument that is not a currency code: collateral is always
the currency posted, never an index or a discount key.
Fields§
§given: StringThe argument as given.
Trait Implementations§
§impl Clone for NotACollateralCurrency
impl Clone for NotACollateralCurrency
§fn clone(&self) -> NotACollateralCurrency
fn clone(&self) -> NotACollateralCurrency
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 more§impl Debug for NotACollateralCurrency
impl Debug for NotACollateralCurrency
§impl Display for NotACollateralCurrency
impl Display for NotACollateralCurrency
impl Eq for NotACollateralCurrency
§impl Error for NotACollateralCurrency
impl Error for NotACollateralCurrency
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 PartialEq for NotACollateralCurrency
impl PartialEq for NotACollateralCurrency
§fn eq(&self, other: &NotACollateralCurrency) -> bool
fn eq(&self, other: &NotACollateralCurrency) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NotACollateralCurrency
Auto Trait Implementations§
impl Freeze for NotACollateralCurrency
impl RefUnwindSafe for NotACollateralCurrency
impl Send for NotACollateralCurrency
impl Sync for NotACollateralCurrency
impl Unpin for NotACollateralCurrency
impl UnsafeUnpin for NotACollateralCurrency
impl UnwindSafe for NotACollateralCurrency
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