pub struct MaintenanceEvent {
pub end_time: Option<DateTime<Utc>>,
pub start_time: Option<DateTime<Utc>>,
pub state: Option<String>,
}Expand description
Represents a maintenance event.
This type is not used in any activity, and only used as part of another schema.
Fields§
§end_time: Option<DateTime<Utc>>Output only. The end time of the maintenance event provided in RFC 3339 format. Example: “2024-01-02T12:04:06-06:00” This field will be empty if the maintenance event is not yet complete.
start_time: Option<DateTime<Utc>>Output only. The start time of the maintenance event provided in RFC 3339 format. Example: “2024-01-01T12:04:06-04:00”
state: Option<String>Output only. The state of the maintenance event.
Trait Implementations§
Source§impl Clone for MaintenanceEvent
impl Clone for MaintenanceEvent
Source§fn clone(&self) -> MaintenanceEvent
fn clone(&self) -> MaintenanceEvent
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 MaintenanceEvent
impl Debug for MaintenanceEvent
Source§impl Default for MaintenanceEvent
impl Default for MaintenanceEvent
Source§fn default() -> MaintenanceEvent
fn default() -> MaintenanceEvent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MaintenanceEvent
impl<'de> Deserialize<'de> for MaintenanceEvent
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 MaintenanceEvent
impl Serialize for MaintenanceEvent
impl Part for MaintenanceEvent
Auto Trait Implementations§
impl Freeze for MaintenanceEvent
impl RefUnwindSafe for MaintenanceEvent
impl Send for MaintenanceEvent
impl Sync for MaintenanceEvent
impl Unpin for MaintenanceEvent
impl UnwindSafe for MaintenanceEvent
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