pub struct X402DiscoveryMerchantResponsePagination {
pub limit: Option<i64>,
pub offset: Option<i64>,
pub total: Option<i64>,
}Expand description
Pagination information for the response.
JSON schema
{
"description": "Pagination information for the response.",
"examples": [
{
"limit": 20,
"offset": 0,
"total": 10
}
],
"type": "object",
"properties": {
"limit": {
"description": "The number of resources returned per page.",
"examples": [
20
],
"type": "integer"
},
"offset": {
"description": "The offset of the first resource returned.",
"examples": [
0
],
"type": "integer"
},
"total": {
"description": "The total number of resources associated with the merchant's payTo address.",
"examples": [
10
],
"type": "integer"
}
}
}Fields§
§limit: Option<i64>The number of resources returned per page.
offset: Option<i64>The offset of the first resource returned.
total: Option<i64>The total number of resources associated with the merchant’s payTo address.
Implementations§
Trait Implementations§
Source§impl Clone for X402DiscoveryMerchantResponsePagination
impl Clone for X402DiscoveryMerchantResponsePagination
Source§fn clone(&self) -> X402DiscoveryMerchantResponsePagination
fn clone(&self) -> X402DiscoveryMerchantResponsePagination
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for X402DiscoveryMerchantResponsePagination
impl<'de> Deserialize<'de> for X402DiscoveryMerchantResponsePagination
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<&X402DiscoveryMerchantResponsePagination> for X402DiscoveryMerchantResponsePagination
impl From<&X402DiscoveryMerchantResponsePagination> for X402DiscoveryMerchantResponsePagination
Source§fn from(value: &X402DiscoveryMerchantResponsePagination) -> Self
fn from(value: &X402DiscoveryMerchantResponsePagination) -> Self
Converts to this type from the input type.
Source§impl From<X402DiscoveryMerchantResponsePagination> for X402DiscoveryMerchantResponsePagination
impl From<X402DiscoveryMerchantResponsePagination> for X402DiscoveryMerchantResponsePagination
Source§fn from(value: X402DiscoveryMerchantResponsePagination) -> Self
fn from(value: X402DiscoveryMerchantResponsePagination) -> Self
Converts to this type from the input type.
Source§impl TryFrom<X402DiscoveryMerchantResponsePagination> for X402DiscoveryMerchantResponsePagination
impl TryFrom<X402DiscoveryMerchantResponsePagination> for X402DiscoveryMerchantResponsePagination
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: X402DiscoveryMerchantResponsePagination,
) -> Result<Self, ConversionError>
fn try_from( value: X402DiscoveryMerchantResponsePagination, ) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for X402DiscoveryMerchantResponsePagination
impl RefUnwindSafe for X402DiscoveryMerchantResponsePagination
impl Send for X402DiscoveryMerchantResponsePagination
impl Sync for X402DiscoveryMerchantResponsePagination
impl Unpin for X402DiscoveryMerchantResponsePagination
impl UnsafeUnpin for X402DiscoveryMerchantResponsePagination
impl UnwindSafe for X402DiscoveryMerchantResponsePagination
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