pub struct ListCustomersResponse {
pub customers: Vec<Customer>,
pub next_page_token: Option<String>,
}Expand description
ListCustomersResponse
JSON schema
{
"allOf": [
{
"type": "object",
"required": [
"customers"
],
"properties": {
"customers": {
"description": "The list of customers.",
"type": "array",
"items": {
"$ref": "#/components/schemas/Customer"
}
}
}
},
{
"$ref": "#/components/schemas/ListResponse"
}
]
}Fields§
§customers: Vec<Customer>The list of customers.
next_page_token: Option<String>The token for the next page of items, if any.
Implementations§
Source§impl ListCustomersResponse
impl ListCustomersResponse
pub fn builder() -> ListCustomersResponse
Trait Implementations§
Source§impl Clone for ListCustomersResponse
impl Clone for ListCustomersResponse
Source§impl Debug for ListCustomersResponse
impl Debug for ListCustomersResponse
Source§impl<'de> Deserialize<'de> for ListCustomersResponse
impl<'de> Deserialize<'de> for ListCustomersResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&ListCustomersResponse> for ListCustomersResponse
impl From<&ListCustomersResponse> for ListCustomersResponse
Source§fn from(value: &ListCustomersResponse) -> Self
fn from(value: &ListCustomersResponse) -> Self
Converts to this type from the input type.
Source§impl From<ListCustomersResponse> for ListCustomersResponse
impl From<ListCustomersResponse> for ListCustomersResponse
Source§fn from(value: ListCustomersResponse) -> Self
fn from(value: ListCustomersResponse) -> Self
Converts to this type from the input type.
Source§impl Serialize for ListCustomersResponse
impl Serialize for ListCustomersResponse
Source§impl TryFrom<ListCustomersResponse> for ListCustomersResponse
impl TryFrom<ListCustomersResponse> for ListCustomersResponse
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ListCustomersResponse) -> Result<Self, ConversionError>
fn try_from(value: ListCustomersResponse) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ListCustomersResponse
impl RefUnwindSafe for ListCustomersResponse
impl Send for ListCustomersResponse
impl Sync for ListCustomersResponse
impl Unpin for ListCustomersResponse
impl UnsafeUnpin for ListCustomersResponse
impl UnwindSafe for ListCustomersResponse
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
Mutably borrows from an owned value. Read more