pub struct ListMetadata {
pub before: Option<String>,
pub after: Option<String>,
}Expand description
The metadata for a PaginatedList.
Fields§
§before: Option<String>The pagination cursor used to retrieve the previous page of records.
after: Option<String>The pagination cursor used to retrieve the next page of records.
Trait Implementations§
Source§impl Clone for ListMetadata
impl Clone for ListMetadata
Source§fn clone(&self) -> ListMetadata
fn clone(&self) -> ListMetadata
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 ListMetadata
impl Debug for ListMetadata
Source§impl<'de> Deserialize<'de> for ListMetadata
impl<'de> Deserialize<'de> for ListMetadata
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 ListMetadata
impl RefUnwindSafe for ListMetadata
impl Send for ListMetadata
impl Sync for ListMetadata
impl Unpin for ListMetadata
impl UnwindSafe for ListMetadata
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