pub struct TimePeriodRange {
pub period: Option<String>,
pub is_inclusive: Option<bool>,
pub other: Option<HashMap<String, Value>>,
}
Expand description
A time period that describes whether a period is inclusive in a range.
Fields§
§period: Option<String>
§is_inclusive: Option<bool>
§other: Option<HashMap<String, Value>>
Trait Implementations§
Source§impl Clone for TimePeriodRange
impl Clone for TimePeriodRange
Source§fn clone(&self) -> TimePeriodRange
fn clone(&self) -> TimePeriodRange
Returns a copy 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 TimePeriodRange
impl Debug for TimePeriodRange
Source§impl Default for TimePeriodRange
impl Default for TimePeriodRange
Source§fn default() -> TimePeriodRange
fn default() -> TimePeriodRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TimePeriodRange
impl<'de> Deserialize<'de> for TimePeriodRange
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 PartialEq for TimePeriodRange
impl PartialEq for TimePeriodRange
Source§impl Serialize for TimePeriodRange
impl Serialize for TimePeriodRange
impl Eq for TimePeriodRange
impl StructuralPartialEq for TimePeriodRange
Auto Trait Implementations§
impl Freeze for TimePeriodRange
impl RefUnwindSafe for TimePeriodRange
impl Send for TimePeriodRange
impl Sync for TimePeriodRange
impl Unpin for TimePeriodRange
impl UnwindSafe for TimePeriodRange
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