#[repr(transparent)]pub struct Seconds(pub u64);Tuple Fields§
§0: u64Trait Implementations§
Source§impl AddAssign for Seconds
impl AddAssign for Seconds
Source§fn add_assign(&mut self, other: Seconds)
fn add_assign(&mut self, other: Seconds)
Performs the
+= operation. Read moreSource§impl AddAssign<u64> for Seconds
impl AddAssign<u64> for Seconds
Source§fn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
Performs the
+= operation. Read moreSource§impl CandidType for Seconds
impl CandidType for Seconds
impl Copy for Seconds
Source§impl<'de> Deserialize<'de> for Seconds
impl<'de> Deserialize<'de> for Seconds
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 DivAssign for Seconds
impl DivAssign for Seconds
Source§fn div_assign(&mut self, other: Seconds)
fn div_assign(&mut self, other: Seconds)
Performs the
/= operation. Read moreSource§impl DivAssign<u64> for Seconds
impl DivAssign<u64> for Seconds
Source§fn div_assign(&mut self, other: u64)
fn div_assign(&mut self, other: u64)
Performs the
/= operation. Read moreimpl Eq for Seconds
Source§impl MulAssign for Seconds
impl MulAssign for Seconds
Source§fn mul_assign(&mut self, other: Seconds)
fn mul_assign(&mut self, other: Seconds)
Performs the
*= operation. Read moreSource§impl MulAssign<u64> for Seconds
impl MulAssign<u64> for Seconds
Source§fn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
Performs the
*= operation. Read moreSource§impl NormalizeAuto for Seconds
impl NormalizeAuto for Seconds
fn normalize_self(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for Seconds
impl NormalizeCustom for Seconds
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NumericValue for Seconds
impl NumericValue for Seconds
Source§fn try_to_decimal(&self) -> Option<Decimal>
fn try_to_decimal(&self) -> Option<Decimal>
Convert this value into
Decimal for generic numeric handling.Source§fn try_from_decimal(value: Decimal) -> Option<Self>
fn try_from_decimal(value: Decimal) -> Option<Self>
Rebuild the value from
Decimal after generic numeric handling.Source§impl Ord for Seconds
impl Ord for Seconds
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 PartialOrd for Seconds
impl PartialOrd for Seconds
Source§impl PartialOrd<Seconds> for u64
impl PartialOrd<Seconds> for u64
Source§impl PartialOrd<u64> for Seconds
impl PartialOrd<u64> for Seconds
Source§impl RemAssign for Seconds
impl RemAssign for Seconds
Source§fn rem_assign(&mut self, other: Seconds)
fn rem_assign(&mut self, other: Seconds)
Performs the
%= operation. Read moreSource§impl RemAssign<u64> for Seconds
impl RemAssign<u64> for Seconds
Source§fn rem_assign(&mut self, other: u64)
fn rem_assign(&mut self, other: u64)
Performs the
%= operation. Read moreimpl StructuralPartialEq for Seconds
Source§impl SubAssign for Seconds
impl SubAssign for Seconds
Source§fn sub_assign(&mut self, other: Seconds)
fn sub_assign(&mut self, other: Seconds)
Performs the
-= operation. Read moreSource§impl SubAssign<u64> for Seconds
impl SubAssign<u64> for Seconds
Source§fn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
Performs the
-= operation. Read moreSource§impl ValidateAuto for Seconds
impl ValidateAuto for Seconds
fn validate_self(&self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for Seconds
impl ValidateCustom for Seconds
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Auto Trait Implementations§
impl Freeze for Seconds
impl RefUnwindSafe for Seconds
impl Send for Seconds
impl Sync for Seconds
impl Unpin for Seconds
impl UnsafeUnpin for Seconds
impl UnwindSafe for Seconds
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> Normalize for Twhere
T: NormalizeAuto + NormalizeCustom,
Source§impl<T> NormalizeAndValidate for Twhere
T: Visitable,
impl<T> NormalizeAndValidate for Twhere
T: Visitable,
Source§fn normalize_and_validate(self) -> Result<Self, VisitorError>
fn normalize_and_validate(self) -> Result<Self, VisitorError>
Normalize and then validate this application-owned value. Read more