Struct google_api_proto::google::cloud::sql::v1beta4::DenyMaintenancePeriod
source · pub struct DenyMaintenancePeriod {
pub start_date: String,
pub end_date: String,
pub time: String,
}
Expand description
Deny Maintenance Periods. This specifies a date range during when all CSA rollout will be denied.
Fields§
§start_date: String
“deny maintenance period” start date. If the year of the start date is empty, the year of the end date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
end_date: String
“deny maintenance period” end date. If the year of the end date is empty, the year of the start date also must be empty. In this case, it means the deny maintenance period recurs every year. The date is in format yyyy-mm-dd i.e., 2020-11-01, or mm-dd, i.e., 11-01
time: String
Time in UTC when the “deny maintenance period” starts on start_date and ends on end_date. The time is in format: HH:mm:SS, i.e., 00:00:00
Trait Implementations§
source§impl Clone for DenyMaintenancePeriod
impl Clone for DenyMaintenancePeriod
source§fn clone(&self) -> DenyMaintenancePeriod
fn clone(&self) -> DenyMaintenancePeriod
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DenyMaintenancePeriod
impl Debug for DenyMaintenancePeriod
source§impl Default for DenyMaintenancePeriod
impl Default for DenyMaintenancePeriod
source§impl Message for DenyMaintenancePeriod
impl Message for DenyMaintenancePeriod
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 DenyMaintenancePeriod
impl PartialEq for DenyMaintenancePeriod
source§fn eq(&self, other: &DenyMaintenancePeriod) -> bool
fn eq(&self, other: &DenyMaintenancePeriod) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DenyMaintenancePeriod
Auto Trait Implementations§
impl Freeze for DenyMaintenancePeriod
impl RefUnwindSafe for DenyMaintenancePeriod
impl Send for DenyMaintenancePeriod
impl Sync for DenyMaintenancePeriod
impl Unpin for DenyMaintenancePeriod
impl UnwindSafe for DenyMaintenancePeriod
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