pub struct ListResponse {
pub time: String,
pub total: u64,
pub prev_page: Option<String>,
pub next_page: Option<String>,
pub results: Vec<Material>,
}Expand description
Страница результатов /list.
Fields§
§time: StringВремя обработки запроса, сообщаемое API.
total: u64Общее число материалов, удовлетворяющих фильтрам.
prev_page: Option<String>URL предыдущей страницы или null на первой странице.
next_page: Option<String>URL следующей страницы или null на последней странице.
results: Vec<Material>Материалы текущей страницы.
Trait Implementations§
Source§impl Clone for ListResponse
impl Clone for ListResponse
Source§impl Debug for ListResponse
impl Debug for ListResponse
Source§impl<'de> Deserialize<'de> for ListResponse
impl<'de> Deserialize<'de> for ListResponse
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 ListResponse
impl PartialEq for ListResponse
Source§impl Serialize for ListResponse
impl Serialize for ListResponse
impl StructuralPartialEq for ListResponse
Auto Trait Implementations§
impl Freeze for ListResponse
impl RefUnwindSafe for ListResponse
impl Send for ListResponse
impl Sync for ListResponse
impl Unpin for ListResponse
impl UnsafeUnpin for ListResponse
impl UnwindSafe for ListResponse
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