#[repr(transparent)]pub struct Milliseconds(pub u64);Tuple Fields§
§0: u64Trait Implementations§
Source§impl Add for Milliseconds
impl Add for Milliseconds
Source§impl Add<Milliseconds> for u64
impl Add<Milliseconds> for u64
Source§type Output = Milliseconds
type Output = Milliseconds
The resulting type after applying the
+ operator.Source§impl Add<u64> for Milliseconds
impl Add<u64> for Milliseconds
Source§impl AddAssign for Milliseconds
impl AddAssign for Milliseconds
Source§fn add_assign(&mut self, other: Milliseconds)
fn add_assign(&mut self, other: Milliseconds)
Performs the
+= operation. Read moreSource§impl AddAssign<u64> for Milliseconds
impl AddAssign<u64> for Milliseconds
Source§fn add_assign(&mut self, other: u64)
fn add_assign(&mut self, other: u64)
Performs the
+= operation. Read moreSource§impl CandidType for Milliseconds
impl CandidType for Milliseconds
Source§impl Clone for Milliseconds
impl Clone for Milliseconds
Source§fn clone(&self) -> Milliseconds
fn clone(&self) -> Milliseconds
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 moreimpl Copy for Milliseconds
Source§impl Debug for Milliseconds
impl Debug for Milliseconds
Source§impl<'de> Deserialize<'de> for Milliseconds
impl<'de> Deserialize<'de> for Milliseconds
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 Div for Milliseconds
impl Div for Milliseconds
Source§impl Div<Milliseconds> for u64
impl Div<Milliseconds> for u64
Source§type Output = Milliseconds
type Output = Milliseconds
The resulting type after applying the
/ operator.Source§impl Div<u64> for Milliseconds
impl Div<u64> for Milliseconds
Source§impl DivAssign for Milliseconds
impl DivAssign for Milliseconds
Source§fn div_assign(&mut self, other: Milliseconds)
fn div_assign(&mut self, other: Milliseconds)
Performs the
/= operation. Read moreSource§impl DivAssign<u64> for Milliseconds
impl DivAssign<u64> for Milliseconds
Source§fn div_assign(&mut self, other: u64)
fn div_assign(&mut self, other: u64)
Performs the
/= operation. Read moreimpl Eq for Milliseconds
Source§impl<T> From<T> for Milliseconds
impl<T> From<T> for Milliseconds
Source§impl Hash for Milliseconds
impl Hash for Milliseconds
Source§impl Inner<u64> for Milliseconds
impl Inner<u64> for Milliseconds
Source§impl Mul for Milliseconds
impl Mul for Milliseconds
Source§impl Mul<Milliseconds> for u64
impl Mul<Milliseconds> for u64
Source§type Output = Milliseconds
type Output = Milliseconds
The resulting type after applying the
* operator.Source§impl Mul<u64> for Milliseconds
impl Mul<u64> for Milliseconds
Source§impl MulAssign for Milliseconds
impl MulAssign for Milliseconds
Source§fn mul_assign(&mut self, other: Milliseconds)
fn mul_assign(&mut self, other: Milliseconds)
Performs the
*= operation. Read moreSource§impl MulAssign<u64> for Milliseconds
impl MulAssign<u64> for Milliseconds
Source§fn mul_assign(&mut self, other: u64)
fn mul_assign(&mut self, other: u64)
Performs the
*= operation. Read moreSource§impl NormalizeAuto for Milliseconds
impl NormalizeAuto for Milliseconds
fn normalize_self(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for Milliseconds
impl NormalizeCustom for Milliseconds
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl NumericValue for Milliseconds
impl NumericValue for Milliseconds
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 Milliseconds
impl Ord for Milliseconds
Source§fn cmp(&self, other: &Milliseconds) -> Ordering
fn cmp(&self, other: &Milliseconds) -> 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 Milliseconds
impl PartialEq for Milliseconds
Source§impl PartialEq<Milliseconds> for u64
impl PartialEq<Milliseconds> for u64
Source§impl PartialEq<u64> for Milliseconds
impl PartialEq<u64> for Milliseconds
Source§impl PartialOrd for Milliseconds
impl PartialOrd for Milliseconds
Source§impl PartialOrd<Milliseconds> for u64
impl PartialOrd<Milliseconds> for u64
Source§impl PartialOrd<u64> for Milliseconds
impl PartialOrd<u64> for Milliseconds
Source§impl Path for Milliseconds
impl Path for Milliseconds
Source§impl Rem for Milliseconds
impl Rem for Milliseconds
Source§impl Rem<Milliseconds> for u64
impl Rem<Milliseconds> for u64
Source§type Output = Milliseconds
type Output = Milliseconds
The resulting type after applying the
% operator.Source§impl Rem<u64> for Milliseconds
impl Rem<u64> for Milliseconds
impl StructuralPartialEq for Milliseconds
Source§impl Sub for Milliseconds
impl Sub for Milliseconds
Source§impl Sub<Milliseconds> for u64
impl Sub<Milliseconds> for u64
Source§type Output = Milliseconds
type Output = Milliseconds
The resulting type after applying the
- operator.Source§impl Sub<u64> for Milliseconds
impl Sub<u64> for Milliseconds
Source§impl SubAssign for Milliseconds
impl SubAssign for Milliseconds
Source§fn sub_assign(&mut self, other: Milliseconds)
fn sub_assign(&mut self, other: Milliseconds)
Performs the
-= operation. Read moreSource§impl SubAssign<u64> for Milliseconds
impl SubAssign<u64> for Milliseconds
Source§fn sub_assign(&mut self, other: u64)
fn sub_assign(&mut self, other: u64)
Performs the
-= operation. Read moreSource§impl Sum for Milliseconds
impl Sum for Milliseconds
Source§impl Sum<u64> for Milliseconds
impl Sum<u64> for Milliseconds
Source§impl ValidateAuto for Milliseconds
impl ValidateAuto for Milliseconds
fn validate_self(&self, _ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for Milliseconds
impl ValidateCustom for Milliseconds
fn validate_custom(&self, _ctx: &mut dyn VisitorContext)
Source§impl Visitable for Milliseconds
impl Visitable for Milliseconds
fn drive(&self, visitor: &mut dyn VisitorCore)
fn drive_mut(&mut self, visitor: &mut dyn VisitorMutCore)
Source§fn type_identity(&self) -> &'static str
fn type_identity(&self) -> &'static str
Return the concrete Rust application-value type used for callback
diagnostics.
Auto Trait Implementations§
impl Freeze for Milliseconds
impl RefUnwindSafe for Milliseconds
impl Send for Milliseconds
impl Sync for Milliseconds
impl Unpin for Milliseconds
impl UnsafeUnpin for Milliseconds
impl UnwindSafe for Milliseconds
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