Struct google_mybusiness4::api::TimeRange
source · pub struct TimeRange {
pub end_time: Option<DateTime<Utc>>,
pub start_time: Option<DateTime<Utc>>,
}
Expand description
A range of time. Data will be pulled over the range as a half-open inverval (that is, [start_time, end_time)).
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time: Option<DateTime<Utc>>
Epoch timestamp for the end of the range (exclusive).
start_time: Option<DateTime<Utc>>
Epoch timestamp for the start of the range (inclusive).
Trait Implementations§
source§impl<'de> Deserialize<'de> for TimeRange
impl<'de> Deserialize<'de> for TimeRange
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 Part for TimeRange
Auto Trait Implementations§
impl RefUnwindSafe for TimeRange
impl Send for TimeRange
impl Sync for TimeRange
impl Unpin for TimeRange
impl UnwindSafe for TimeRange
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