pub struct DurationRange {
pub min: Duration,
pub max: Duration,
}Fields§
§min: Duration§max: DurationImplementations§
Trait Implementations§
Source§impl CandidType for DurationRange
impl CandidType for DurationRange
Source§impl Clone for DurationRange
impl Clone for DurationRange
Source§fn clone(&self) -> DurationRange
fn clone(&self) -> DurationRange
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 DurationRange
impl Debug for DurationRange
Source§impl<'de> Deserialize<'de> for DurationRange
impl<'de> Deserialize<'de> for DurationRange
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
impl Eq for DurationRange
Source§impl NormalizeAuto for DurationRange
impl NormalizeAuto for DurationRange
fn normalize_self(&mut self, ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for DurationRange
impl NormalizeCustom for DurationRange
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl PartialEq for DurationRange
impl PartialEq for DurationRange
Source§impl Path for DurationRange
impl Path for DurationRange
impl StructuralPartialEq for DurationRange
Source§impl ValidateAuto for DurationRange
impl ValidateAuto for DurationRange
fn validate_self(&self, ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for DurationRange
impl ValidateCustom for DurationRange
fn validate_custom(&self, ctx: &mut dyn VisitorContext)
Source§impl Visitable for DurationRange
impl Visitable for DurationRange
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 DurationRange
impl RefUnwindSafe for DurationRange
impl Send for DurationRange
impl Sync for DurationRange
impl Unpin for DurationRange
impl UnsafeUnpin for DurationRange
impl UnwindSafe for DurationRange
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,
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