Struct google_api_proto::google::cloud::channel::v1::ListEntitlementsRequest
source · pub struct ListEntitlementsRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
}
Expand description
Request message for [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements]
Fields§
§parent: String
Required. The resource name of the reseller’s customer account to list entitlements for. Parent uses the format: accounts/{account_id}/customers/{customer_id}
page_size: i32
Optional. Requested page size. Server might return fewer results than requested. If unspecified, return at most 50 entitlements. The maximum value is 100; the server will coerce values above 100.
page_token: String
Optional. A token for a page of results other than the first page. Obtained using [ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token] of the previous [CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements] call.
Trait Implementations§
source§impl Clone for ListEntitlementsRequest
impl Clone for ListEntitlementsRequest
source§fn clone(&self) -> ListEntitlementsRequest
fn clone(&self) -> ListEntitlementsRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListEntitlementsRequest
impl Debug for ListEntitlementsRequest
source§impl Default for ListEntitlementsRequest
impl Default for ListEntitlementsRequest
source§impl Message for ListEntitlementsRequest
impl Message for ListEntitlementsRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for ListEntitlementsRequest
impl PartialEq for ListEntitlementsRequest
source§fn eq(&self, other: &ListEntitlementsRequest) -> bool
fn eq(&self, other: &ListEntitlementsRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListEntitlementsRequest
Auto Trait Implementations§
impl Freeze for ListEntitlementsRequest
impl RefUnwindSafe for ListEntitlementsRequest
impl Send for ListEntitlementsRequest
impl Sync for ListEntitlementsRequest
impl Unpin for ListEntitlementsRequest
impl UnwindSafe for ListEntitlementsRequest
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