pub struct BalanceUpdatePage {
pub data: Vec<BalanceUpdateDto>,
pub end_cursor: Option<String>,
pub has_next: bool,
pub has_prev: bool,
pub start_cursor: Option<String>,
}Expand description
BalanceUpdatePage
JSON schema
{
"type": "object",
"required": [
"data",
"hasNext",
"hasPrev"
],
"properties": {
"data": {
"description": "DTO.PAGE.DATA",
"type": "array",
"items": {
"$ref": "#/components/schemas/BalanceUpdateDTO"
}
},
"endCursor": {
"description": "DTO.PAGE.END_CURSOR",
"type": "string"
},
"hasNext": {
"description": "DTO.PAGE.HAS_NEXT",
"default": false,
"type": "boolean"
},
"hasPrev": {
"description": "DTO.PAGE.HAS_PREV",
"default": false,
"type": "boolean"
},
"startCursor": {
"description": "DTO.PAGE.START_CURSOR",
"type": "string"
}
}
}Fields§
§data: Vec<BalanceUpdateDto>DTO.PAGE.DATA
end_cursor: Option<String>DTO.PAGE.END_CURSOR
has_next: boolDTO.PAGE.HAS_NEXT
has_prev: boolDTO.PAGE.HAS_PREV
start_cursor: Option<String>DTO.PAGE.START_CURSOR
Implementations§
Source§impl BalanceUpdatePage
impl BalanceUpdatePage
pub fn builder() -> BalanceUpdatePage
Trait Implementations§
Source§impl Clone for BalanceUpdatePage
impl Clone for BalanceUpdatePage
Source§fn clone(&self) -> BalanceUpdatePage
fn clone(&self) -> BalanceUpdatePage
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 BalanceUpdatePage
impl Debug for BalanceUpdatePage
Source§impl<'de> Deserialize<'de> for BalanceUpdatePage
impl<'de> Deserialize<'de> for BalanceUpdatePage
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<&BalanceUpdatePage> for BalanceUpdatePage
impl From<&BalanceUpdatePage> for BalanceUpdatePage
Source§fn from(value: &BalanceUpdatePage) -> Self
fn from(value: &BalanceUpdatePage) -> Self
Converts to this type from the input type.
Source§impl From<BalanceUpdatePage> for BalanceUpdatePage
impl From<BalanceUpdatePage> for BalanceUpdatePage
Source§fn from(value: BalanceUpdatePage) -> Self
fn from(value: BalanceUpdatePage) -> Self
Converts to this type from the input type.
Source§impl Serialize for BalanceUpdatePage
impl Serialize for BalanceUpdatePage
Source§impl TryFrom<BalanceUpdatePage> for BalanceUpdatePage
impl TryFrom<BalanceUpdatePage> for BalanceUpdatePage
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: BalanceUpdatePage) -> Result<Self, ConversionError>
fn try_from(value: BalanceUpdatePage) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for BalanceUpdatePage
impl RefUnwindSafe for BalanceUpdatePage
impl Send for BalanceUpdatePage
impl Sync for BalanceUpdatePage
impl Unpin for BalanceUpdatePage
impl UnwindSafe for BalanceUpdatePage
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