Struct google_api_proto::google::cloud::compute::v1::UpcomingMaintenance
source · pub struct UpcomingMaintenance {
pub can_reschedule: Option<bool>,
pub latest_window_start_time: Option<String>,
pub maintenance_status: Option<String>,
pub type: Option<String>,
pub window_end_time: Option<String>,
pub window_start_time: Option<String>,
}
Expand description
Upcoming Maintenance notification information.
Fields§
§can_reschedule: Option<bool>
Indicates if the maintenance can be customer triggered.
latest_window_start_time: Option<String>
The latest time for the planned maintenance window to start. This timestamp value is in RFC3339 text format.
maintenance_status: Option<String>
Check the MaintenanceStatus enum for the list of possible values.
type: Option<String>
Defines the type of maintenance. Check the Type enum for the list of possible values.
window_end_time: Option<String>
The time by which the maintenance disruption will be completed. This timestamp value is in RFC3339 text format.
window_start_time: Option<String>
The current start time of the maintenance window. This timestamp value is in RFC3339 text format.
Implementations§
source§impl UpcomingMaintenance
impl UpcomingMaintenance
sourcepub fn maintenance_status(&self) -> &str
pub fn maintenance_status(&self) -> &str
Returns the value of maintenance_status
, or the default value if maintenance_status
is unset.
sourcepub fn can_reschedule(&self) -> bool
pub fn can_reschedule(&self) -> bool
Returns the value of can_reschedule
, or the default value if can_reschedule
is unset.
sourcepub fn latest_window_start_time(&self) -> &str
pub fn latest_window_start_time(&self) -> &str
Returns the value of latest_window_start_time
, or the default value if latest_window_start_time
is unset.
sourcepub fn window_end_time(&self) -> &str
pub fn window_end_time(&self) -> &str
Returns the value of window_end_time
, or the default value if window_end_time
is unset.
sourcepub fn window_start_time(&self) -> &str
pub fn window_start_time(&self) -> &str
Returns the value of window_start_time
, or the default value if window_start_time
is unset.
Trait Implementations§
source§impl Clone for UpcomingMaintenance
impl Clone for UpcomingMaintenance
source§fn clone(&self) -> UpcomingMaintenance
fn clone(&self) -> UpcomingMaintenance
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpcomingMaintenance
impl Debug for UpcomingMaintenance
source§impl Default for UpcomingMaintenance
impl Default for UpcomingMaintenance
source§impl Message for UpcomingMaintenance
impl Message for UpcomingMaintenance
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for UpcomingMaintenance
impl PartialEq for UpcomingMaintenance
source§fn eq(&self, other: &UpcomingMaintenance) -> bool
fn eq(&self, other: &UpcomingMaintenance) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpcomingMaintenance
Auto Trait Implementations§
impl Freeze for UpcomingMaintenance
impl RefUnwindSafe for UpcomingMaintenance
impl Send for UpcomingMaintenance
impl Sync for UpcomingMaintenance
impl Unpin for UpcomingMaintenance
impl UnwindSafe for UpcomingMaintenance
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request