Struct google_api_proto::google::cloud::essentialcontacts::v1::ComputeContactsRequest
source · pub struct ComputeContactsRequest {
pub parent: String,
pub notification_categories: Vec<i32>,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request message for the ComputeContacts method.
Fields§
§parent: String
Required. The name of the resource to compute contacts for. Format: organizations/{organization_id}, folders/{folder_id} or projects/{project_id}
notification_categories: Vec<i32>
The categories of notifications to compute contacts for. If ALL is included in this list, contacts subscribed to any notification category will be returned.
page_size: i32
Optional. The maximum number of results to return from this request.
Non-positive values are ignored. The presence of next_page_token
in the
response indicates that more results might be available.
If not specified, the default page_size is 100.
page_token: String
Optional. If present, retrieves the next batch of results from the
preceding call to this method. page_token
must be the value of
next_page_token
from the previous response. The values of other method
parameters should be identical to those in the previous call.
Implementations§
source§impl ComputeContactsRequest
impl ComputeContactsRequest
sourcepub fn notification_categories(
&self,
) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<NotificationCategory>>
pub fn notification_categories( &self, ) -> FilterMap<Cloned<Iter<'_, i32>>, fn(_: i32) -> Option<NotificationCategory>>
Returns an iterator which yields the valid enum values contained in notification_categories
.
sourcepub fn push_notification_categories(&mut self, value: NotificationCategory)
pub fn push_notification_categories(&mut self, value: NotificationCategory)
Appends the provided enum value to notification_categories
.
Trait Implementations§
source§impl Clone for ComputeContactsRequest
impl Clone for ComputeContactsRequest
source§fn clone(&self) -> ComputeContactsRequest
fn clone(&self) -> ComputeContactsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComputeContactsRequest
impl Debug for ComputeContactsRequest
source§impl Default for ComputeContactsRequest
impl Default for ComputeContactsRequest
source§impl Message for ComputeContactsRequest
impl Message for ComputeContactsRequest
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 ComputeContactsRequest
impl PartialEq for ComputeContactsRequest
source§fn eq(&self, other: &ComputeContactsRequest) -> bool
fn eq(&self, other: &ComputeContactsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ComputeContactsRequest
Auto Trait Implementations§
impl Freeze for ComputeContactsRequest
impl RefUnwindSafe for ComputeContactsRequest
impl Send for ComputeContactsRequest
impl Sync for ComputeContactsRequest
impl Unpin for ComputeContactsRequest
impl UnwindSafe for ComputeContactsRequest
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