pub enum AllowancePeriodUnit {
Minute,
Hour,
Day,
Week,
Month,
Year,
}Expand description
Unit used by an Allowance period.
Variants§
Minute
Minute interval.
Hour
Hour interval.
Day
Day interval.
Week
Week interval.
Month
Calendar-month interval (anchored periods only).
Year
Calendar-year interval (anchored periods only).
Implementations§
Trait Implementations§
Source§impl Clone for AllowancePeriodUnit
impl Clone for AllowancePeriodUnit
impl Copy for AllowancePeriodUnit
Source§impl Debug for AllowancePeriodUnit
impl Debug for AllowancePeriodUnit
Source§impl Display for AllowancePeriodUnit
impl Display for AllowancePeriodUnit
impl Eq for AllowancePeriodUnit
Source§impl Hash for AllowancePeriodUnit
impl Hash for AllowancePeriodUnit
Source§impl PartialEq for AllowancePeriodUnit
impl PartialEq for AllowancePeriodUnit
impl StructuralPartialEq for AllowancePeriodUnit
Auto Trait Implementations§
impl Freeze for AllowancePeriodUnit
impl RefUnwindSafe for AllowancePeriodUnit
impl Send for AllowancePeriodUnit
impl Sync for AllowancePeriodUnit
impl Unpin for AllowancePeriodUnit
impl UnsafeUnpin for AllowancePeriodUnit
impl UnwindSafe for AllowancePeriodUnit
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.