pub enum PaymentPeriod {
P1M,
P3M,
P6M,
P1Y,
}Expand description
Период оплаты.
Variants§
Trait Implementations§
Source§impl Clone for PaymentPeriod
impl Clone for PaymentPeriod
Source§fn clone(&self) -> PaymentPeriod
fn clone(&self) -> PaymentPeriod
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 PaymentPeriod
impl Debug for PaymentPeriod
Source§impl Default for PaymentPeriod
impl Default for PaymentPeriod
Source§fn default() -> PaymentPeriod
fn default() -> PaymentPeriod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaymentPeriod
impl<'de> Deserialize<'de> for PaymentPeriod
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
Source§impl Hash for PaymentPeriod
impl Hash for PaymentPeriod
Source§impl Ord for PaymentPeriod
impl Ord for PaymentPeriod
Source§fn cmp(&self, other: &PaymentPeriod) -> Ordering
fn cmp(&self, other: &PaymentPeriod) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PaymentPeriod
impl PartialEq for PaymentPeriod
Source§fn eq(&self, other: &PaymentPeriod) -> bool
fn eq(&self, other: &PaymentPeriod) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PaymentPeriod
impl PartialOrd for PaymentPeriod
Source§impl Serialize for PaymentPeriod
impl Serialize for PaymentPeriod
impl Copy for PaymentPeriod
impl Eq for PaymentPeriod
impl StructuralPartialEq for PaymentPeriod
Auto Trait Implementations§
impl Freeze for PaymentPeriod
impl RefUnwindSafe for PaymentPeriod
impl Send for PaymentPeriod
impl Sync for PaymentPeriod
impl Unpin for PaymentPeriod
impl UnsafeUnpin for PaymentPeriod
impl UnwindSafe for PaymentPeriod
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