Struct google_api_proto::google::monitoring::v3::GetNotificationChannelVerificationCodeRequest
source · pub struct GetNotificationChannelVerificationCodeRequest {
pub name: String,
pub expire_time: Option<Timestamp>,
}
Expand description
The GetNotificationChannelVerificationCode
request.
Fields§
§name: String
Required. The notification channel for which a verification code is to be generated and retrieved. This must name a channel that is already verified; if the specified channel is not verified, the request will fail.
expire_time: Option<Timestamp>
The desired expiration time. If specified, the API will guarantee that the returned code will not be valid after the specified timestamp; however, the API cannot guarantee that the returned code will be valid for at least as long as the requested time (the API puts an upper bound on the amount of time for which a code may be valid). If omitted, a default expiration will be used, which may be less than the max permissible expiration (so specifying an expiration may extend the code’s lifetime over omitting an expiration, even though the API does impose an upper limit on the maximum expiration that is permitted).
Trait Implementations§
source§impl Clone for GetNotificationChannelVerificationCodeRequest
impl Clone for GetNotificationChannelVerificationCodeRequest
source§fn clone(&self) -> GetNotificationChannelVerificationCodeRequest
fn clone(&self) -> GetNotificationChannelVerificationCodeRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for GetNotificationChannelVerificationCodeRequest
impl Message for GetNotificationChannelVerificationCodeRequest
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 GetNotificationChannelVerificationCodeRequest
impl PartialEq for GetNotificationChannelVerificationCodeRequest
source§fn eq(&self, other: &GetNotificationChannelVerificationCodeRequest) -> bool
fn eq(&self, other: &GetNotificationChannelVerificationCodeRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetNotificationChannelVerificationCodeRequest
Auto Trait Implementations§
impl Freeze for GetNotificationChannelVerificationCodeRequest
impl RefUnwindSafe for GetNotificationChannelVerificationCodeRequest
impl Send for GetNotificationChannelVerificationCodeRequest
impl Sync for GetNotificationChannelVerificationCodeRequest
impl Unpin for GetNotificationChannelVerificationCodeRequest
impl UnwindSafe for GetNotificationChannelVerificationCodeRequest
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