pub struct TurnsPage {
pub backwards_cursor: Option<String>,
pub data: Vec<Turn>,
pub next_cursor: Option<String>,
}Expand description
TurnsPage
JSON schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"backwardsCursor": {
"type": [
"string",
"null"
]
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/Turn"
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
}
}Fields§
§backwards_cursor: Option<String>§data: Vec<Turn>§next_cursor: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for TurnsPage
impl<'de> Deserialize<'de> for TurnsPage
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
Auto Trait Implementations§
impl Freeze for TurnsPage
impl RefUnwindSafe for TurnsPage
impl Send for TurnsPage
impl Sync for TurnsPage
impl Unpin for TurnsPage
impl UnsafeUnpin for TurnsPage
impl UnwindSafe for TurnsPage
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