pub struct ResponseItemList {
pub data: Vec<ItemResource>,
pub first_id: String,
pub has_more: bool,
pub last_id: String,
pub object: String,
}
Fields§
§data: Vec<ItemResource>
A list of items used to generate this response.
first_id: String
The ID of the first item in the list.
has_more: bool
Whether there are more items available.
last_id: String
The ID of the last item in the list.
object: String
The type of object returned, must be list
.
Trait Implementations§
Source§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
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