pub struct DateTimeRange {
pub start_time: String,
pub end_time: String,
}Expand description
DateTimeRange : A range of time.
Fields§
§start_time: StringThe beginning of the time range. Must be in UTC in ISO 8601 format.
end_time: StringThe end of the time range. Must be in UTC in ISO 8601 format.
Implementations§
Source§impl DateTimeRange
impl DateTimeRange
Sourcepub fn new(start_time: String, end_time: String) -> DateTimeRange
pub fn new(start_time: String, end_time: String) -> DateTimeRange
A range of time.
Trait Implementations§
Source§impl Clone for DateTimeRange
impl Clone for DateTimeRange
Source§fn clone(&self) -> DateTimeRange
fn clone(&self) -> DateTimeRange
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 DateTimeRange
impl Debug for DateTimeRange
Source§impl Default for DateTimeRange
impl Default for DateTimeRange
Source§fn default() -> DateTimeRange
fn default() -> DateTimeRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DateTimeRange
impl<'de> Deserialize<'de> for DateTimeRange
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 DateTimeRange
impl PartialEq for DateTimeRange
Source§impl Serialize for DateTimeRange
impl Serialize for DateTimeRange
impl StructuralPartialEq for DateTimeRange
Auto Trait Implementations§
impl Freeze for DateTimeRange
impl RefUnwindSafe for DateTimeRange
impl Send for DateTimeRange
impl Sync for DateTimeRange
impl Unpin for DateTimeRange
impl UnwindSafe for DateTimeRange
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