Struct googapis::google::cloud::channel::v1::ListPurchasableSkusRequest [−][src]
pub struct ListPurchasableSkusRequest {
pub customer: String,
pub page_size: i32,
pub page_token: String,
pub language_code: String,
pub purchase_option: Option<PurchaseOption>,
}
Expand description
Request message for ListPurchasableSkus.
Fields
customer: String
Required. The resource name of the customer to list SKUs for. Format: accounts/{account_id}/customers/{customer_id}.
page_size: i32
Optional. Requested page size. Server might return fewer results than requested. If unspecified, returns at most 100 SKUs. The maximum value is 1000; the server will coerce values above 1000.
page_token: String
Optional. A token for a page of results other than the first page.
language_code: String
Optional. The BCP-47 language code. For example, “en-US”. The response will localize in the corresponding language code, if specified. The default value is “en-US”.
purchase_option: Option<PurchaseOption>
Defines the intended purchase.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListPurchasableSkusRequest
impl Send for ListPurchasableSkusRequest
impl Sync for ListPurchasableSkusRequest
impl Unpin for ListPurchasableSkusRequest
impl UnwindSafe for ListPurchasableSkusRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more