Struct google_mybusiness4::api::TimeInterval
source · pub struct TimeInterval {
pub end_date: Option<Date>,
pub end_time: Option<TimeOfDay>,
pub start_date: Option<Date>,
pub start_time: Option<TimeOfDay>,
}
Expand description
An interval of time, inclusive. It must contain all fields to be valid.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_date: Option<Date>
The end date of this period.
end_time: Option<TimeOfDay>
The end time of this period.
start_date: Option<Date>
The start date of this period.
start_time: Option<TimeOfDay>
The start time of this period.
Trait Implementations§
source§impl Clone for TimeInterval
impl Clone for TimeInterval
source§fn clone(&self) -> TimeInterval
fn clone(&self) -> TimeInterval
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 TimeInterval
impl Debug for TimeInterval
source§impl Default for TimeInterval
impl Default for TimeInterval
source§fn default() -> TimeInterval
fn default() -> TimeInterval
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TimeInterval
impl<'de> Deserialize<'de> for TimeInterval
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 Serialize for TimeInterval
impl Serialize for TimeInterval
impl Part for TimeInterval
Auto Trait Implementations§
impl RefUnwindSafe for TimeInterval
impl Send for TimeInterval
impl Sync for TimeInterval
impl Unpin for TimeInterval
impl UnwindSafe for TimeInterval
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