pub struct Page<R> {
pub items: Vec<R>,
pub next_before: Option<String>,
}Expand description
One page of GET /api/voice/{R}.
items is newest-first. next_before is the cursor for the next
page (pass it back as the request’s before field); absent/None
means the caller has reached the start of history.
Fields§
§items: Vec<R>§next_before: Option<String>Trait Implementations§
Source§impl<'de, R> Deserialize<'de> for Page<R>where
R: Deserialize<'de>,
impl<'de, R> Deserialize<'de> for Page<R>where
R: Deserialize<'de>,
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<R> Freeze for Page<R>
impl<R> RefUnwindSafe for Page<R>where
R: RefUnwindSafe,
impl<R> Send for Page<R>where
R: Send,
impl<R> Sync for Page<R>where
R: Sync,
impl<R> Unpin for Page<R>where
R: Unpin,
impl<R> UnsafeUnpin for Page<R>
impl<R> UnwindSafe for Page<R>where
R: UnwindSafe,
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