#[non_exhaustive]pub struct AccountLimit {
pub kind: LimitKind,
pub amount: Option<Decimal>,
pub currency: Option<Currency>,
pub days: Option<u16>,
}Available on non-crate feature
tooling only.Expand description
Kontolimit, or the limit of one allowed order.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.kind: LimitKind§amount: Option<Decimal>§currency: Option<Currency>§days: Option<u16>Limit-Tage, for LimitKind::Period.
Trait Implementations§
Source§impl Clone for AccountLimit
impl Clone for AccountLimit
Source§impl Debug for AccountLimit
impl Debug for AccountLimit
Source§impl<'de> Deserialize<'de> for AccountLimit
impl<'de> Deserialize<'de> for AccountLimit
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
impl Eq for AccountLimit
Source§impl PartialEq for AccountLimit
impl PartialEq for AccountLimit
Source§impl Serialize for AccountLimit
impl Serialize for AccountLimit
impl StructuralPartialEq for AccountLimit
Auto Trait Implementations§
impl Forget for AccountLimit
impl Freeze for AccountLimit
impl Move for AccountLimit
impl RefUnwindSafe for AccountLimit
impl Send for AccountLimit
impl Sync for AccountLimit
impl Unpin for AccountLimit
impl UnsafeUnpin for AccountLimit
impl UnwindSafe for AccountLimit
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