pub struct DurationRange {
pub min: Duration,
pub max: Duration,
}Fields§
§min: Duration§max: DurationImplementations§
Trait Implementations§
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 · 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 Default for DurationRange
impl Default for DurationRange
Source§fn default() -> DurationRange
fn default() -> DurationRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DurationRangewhere
DurationRange: Default,
impl<'de> Deserialize<'de> for DurationRangewhere
DurationRange: Default,
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 FieldValue for DurationRange
impl FieldValue for DurationRange
Source§impl Filterable for DurationRange
impl Filterable for DurationRange
type Filter = NoFilterKind
type ListFilter = NoFilterKind
Source§impl From<&DurationRange> for DurationRangeView
impl From<&DurationRange> for DurationRangeView
Source§fn from(value: &DurationRange) -> Self
fn from(value: &DurationRange) -> Self
Converts to this type from the input type.
Source§impl From<DurationRange> for DurationRangeView
impl From<DurationRange> for DurationRangeView
Source§fn from(value: DurationRange) -> Self
fn from(value: DurationRange) -> Self
Converts to this type from the input type.
Source§impl From<DurationRangeView> for DurationRange
impl From<DurationRangeView> for DurationRange
Source§fn from(view: DurationRangeView) -> Self
fn from(view: DurationRangeView) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DurationRange
impl PartialEq for DurationRange
Source§impl Path for DurationRange
impl Path for DurationRange
Source§impl SanitizeAuto for DurationRange
impl SanitizeAuto for DurationRange
fn sanitize_self(&mut self)
fn sanitize_children(&mut self)
fn sanitize_self_with(&mut self, _ctx: &SanitizeContext)
fn sanitize_children_with(&mut self, _ctx: &SanitizeContext)
Source§impl SanitizeCustom for DurationRange
impl SanitizeCustom for DurationRange
fn sanitize_custom(&mut self)
fn sanitize_custom_with(&mut self, _ctx: &SanitizeContext)
Source§impl Serialize for DurationRange
impl Serialize for DurationRange
Source§impl UpdateView for DurationRange
impl UpdateView for DurationRange
type UpdateViewType = DurationRangeUpdate
Source§fn merge(&mut self, update: Self::UpdateViewType)
fn merge(&mut self, update: Self::UpdateViewType)
merge the updateview into self
Source§impl ValidateAuto for DurationRange
impl ValidateAuto for DurationRange
fn validate_self(&self) -> Result<(), ErrorTree>
fn validate_children(&self) -> Result<(), ErrorTree>
fn validate_self_with(&self, _ctx: &ValidateContext) -> Result<(), ErrorTree>
fn validate_children_with( &self, _ctx: &ValidateContext, ) -> Result<(), ErrorTree>
Source§impl ValidateCustom for DurationRange
impl ValidateCustom for DurationRange
fn validate_custom(&self) -> Result<(), ErrorTree>
fn validate_custom_with(&self, _ctx: &ValidateContext) -> Result<(), ErrorTree>
Source§impl View for DurationRange
impl View for DurationRange
Source§impl Visitable for DurationRange
impl Visitable for DurationRange
impl Eq for DurationRange
impl StructuralPartialEq for DurationRange
Auto Trait Implementations§
impl Freeze for DurationRange
impl RefUnwindSafe for DurationRange
impl Send for DurationRange
impl Sync for DurationRange
impl Unpin 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