Struct Minute

pub struct Minute(/* private field */);

The supported range of minute values.

Implementations

impl Minute

const MIN: i8 = <Minute as Bounds>::MIN;
const MAX: i8 = <Minute as Bounds>::MAX;
const LEN: i128 = _;
const fn error() -> BoundsError
fn check(n: impl Into<i64>) -> Result<i8, BoundsError>
const fn checkc(n: i64) -> Result<i8, BoundsError>
const fn checked_add(n1: i8, n2: i8) -> Result<i8, BoundsError>
fn checked_mul(n1: i8, n2: i8) -> Result<i8, BoundsError>

Trait Implementations

impl Bounds for Minute

const WHAT: &'static str = "minute";
const MIN: Self::Primitive = 0;
const MAX: Self::Primitive = 59;
type Primitive = i8;
type Error = BoundsError;
fn error() -> BoundsError

impl Eq for Minute

impl PartialEq for Minute

fn eq(&self, other: &Self) -> bool

impl StructuralPartialEq for Minute

Auto Trait Implementations

impl Freeze for Minute

impl RefUnwindSafe for Minute

impl Send for Minute

impl Sync for Minute

impl Unpin for Minute

impl UnsafeUnpin for Minute

impl UnwindSafe for Minute

Blanket Implementations

impl<T> Any for Minute where T: 'static + ?Sized,

impl<T> Borrow<T> for Minute where T: ?Sized,

impl<T> BorrowMut<T> for Minute where T: ?Sized,

impl<T> From<T> for Minute

impl<T, U> Into<U> for Minute where U: From<T>,

impl<T, U> TryFrom<U> for Minute where U: Into<T>,

impl<T, U> TryInto<U> for Minute where U: TryFrom<T>,