pub struct ResponseItemList {
pub data: Vec<ItemResource>,
pub has_more: bool,
pub first_id: String,
pub last_id: String,
}
Expand description
A list of Response items.
Fields§
§data: Vec<ItemResource>
A list of items used to generate this response.
has_more: bool
Whether there are more items available.
first_id: String
The ID of the first item in the list.
last_id: String
The ID of the last item in the list.
Implementations§
Trait Implementations§
Source§impl Clone for ResponseItemList
impl Clone for ResponseItemList
Source§fn clone(&self) -> ResponseItemList
fn clone(&self) -> ResponseItemList
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 ResponseItemList
impl Debug for ResponseItemList
Source§impl<'de> Deserialize<'de> for ResponseItemList
impl<'de> Deserialize<'de> for ResponseItemList
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 PartialEq for ResponseItemList
impl PartialEq for ResponseItemList
Source§impl Serialize for ResponseItemList
impl Serialize for ResponseItemList
impl StructuralPartialEq for ResponseItemList
Auto Trait Implementations§
impl Freeze for ResponseItemList
impl RefUnwindSafe for ResponseItemList
impl Send for ResponseItemList
impl Sync for ResponseItemList
impl Unpin for ResponseItemList
impl UnwindSafe for ResponseItemList
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