pub struct RedPacketClaimsPage {
pub end_cursor: String,
pub has_next_page: bool,
pub records: Vec<RedPacketClaimDto>,
pub start_cursor: String,
pub total: i64,
}Expand description
RedPacketClaimsPage
JSON schema
{
"type": "object",
"required": [
"endCursor",
"hasNextPage",
"records",
"startCursor",
"total"
],
"properties": {
"endCursor": {
"description": "DTO.PAGE.END_CURSOR",
"examples": [
"cursor_456"
],
"type": "string"
},
"hasNextPage": {
"description": "DTO.PAGE.HAS_NEXT",
"examples": [
true
],
"type": "boolean"
},
"records": {
"description": "Array of claim records",
"type": "array",
"items": {
"$ref": "#/components/schemas/RedPacketClaimDTO"
}
},
"startCursor": {
"description": "DTO.PAGE.START_CURSOR",
"examples": [
"cursor_123"
],
"type": "string"
},
"total": {
"description": "DTO.PAGE.TOTAL",
"examples": [
100
],
"type": "integer",
"format": "int64"
}
}
}Fields§
§end_cursor: StringDTO.PAGE.END_CURSOR
has_next_page: boolDTO.PAGE.HAS_NEXT
records: Vec<RedPacketClaimDto>Array of claim records
start_cursor: StringDTO.PAGE.START_CURSOR
total: i64DTO.PAGE.TOTAL
Implementations§
Source§impl RedPacketClaimsPage
impl RedPacketClaimsPage
pub fn builder() -> RedPacketClaimsPage
Trait Implementations§
Source§impl Clone for RedPacketClaimsPage
impl Clone for RedPacketClaimsPage
Source§fn clone(&self) -> RedPacketClaimsPage
fn clone(&self) -> RedPacketClaimsPage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RedPacketClaimsPage
impl Debug for RedPacketClaimsPage
Source§impl<'de> Deserialize<'de> for RedPacketClaimsPage
impl<'de> Deserialize<'de> for RedPacketClaimsPage
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<&RedPacketClaimsPage> for RedPacketClaimsPage
impl From<&RedPacketClaimsPage> for RedPacketClaimsPage
Source§fn from(value: &RedPacketClaimsPage) -> Self
fn from(value: &RedPacketClaimsPage) -> Self
Converts to this type from the input type.
Source§impl From<RedPacketClaimsPage> for RedPacketClaimsPage
impl From<RedPacketClaimsPage> for RedPacketClaimsPage
Source§fn from(value: RedPacketClaimsPage) -> Self
fn from(value: RedPacketClaimsPage) -> Self
Converts to this type from the input type.
Source§impl Serialize for RedPacketClaimsPage
impl Serialize for RedPacketClaimsPage
Source§impl TryFrom<RedPacketClaimsPage> for RedPacketClaimsPage
impl TryFrom<RedPacketClaimsPage> for RedPacketClaimsPage
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: RedPacketClaimsPage) -> Result<Self, ConversionError>
fn try_from(value: RedPacketClaimsPage) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for RedPacketClaimsPage
impl RefUnwindSafe for RedPacketClaimsPage
impl Send for RedPacketClaimsPage
impl Sync for RedPacketClaimsPage
impl Unpin for RedPacketClaimsPage
impl UnwindSafe for RedPacketClaimsPage
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