Struct google_cloudasset1_beta1::api::TimeWindow
source · pub struct TimeWindow {
pub end_time: Option<DateTime<Utc>>,
pub start_time: Option<DateTime<Utc>>,
}
Expand description
A time window specified by its start_time
and end_time
.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time: Option<DateTime<Utc>>
End time of the time window (inclusive). If not specified, the current timestamp is used instead.
start_time: Option<DateTime<Utc>>
Start time of the time window (exclusive).
Trait Implementations§
source§impl Clone for TimeWindow
impl Clone for TimeWindow
source§fn clone(&self) -> TimeWindow
fn clone(&self) -> TimeWindow
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 TimeWindow
impl Debug for TimeWindow
source§impl Default for TimeWindow
impl Default for TimeWindow
source§fn default() -> TimeWindow
fn default() -> TimeWindow
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TimeWindow
impl<'de> Deserialize<'de> for TimeWindow
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 TimeWindow
impl Serialize for TimeWindow
impl Part for TimeWindow
Auto Trait Implementations§
impl RefUnwindSafe for TimeWindow
impl Send for TimeWindow
impl Sync for TimeWindow
impl Unpin for TimeWindow
impl UnwindSafe for TimeWindow
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