pub struct PaginatedCommentList {
pub next: Option<Option<String>>,
pub previous: Option<Option<String>>,
pub results: Option<Vec<Comment>>,
}
Fields§
§next: Option<Option<String>>
§previous: Option<Option<String>>
§results: Option<Vec<Comment>>
Implementations§
source§impl PaginatedCommentList
impl PaginatedCommentList
pub fn new() -> PaginatedCommentList
Trait Implementations§
source§impl Clone for PaginatedCommentList
impl Clone for PaginatedCommentList
source§fn clone(&self) -> PaginatedCommentList
fn clone(&self) -> PaginatedCommentList
Returns a copy 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 PaginatedCommentList
impl Debug for PaginatedCommentList
source§impl Default for PaginatedCommentList
impl Default for PaginatedCommentList
source§impl<'de> Deserialize<'de> for PaginatedCommentList
impl<'de> Deserialize<'de> for PaginatedCommentList
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 PaginatedCommentList
impl PartialEq for PaginatedCommentList
source§fn eq(&self, other: &PaginatedCommentList) -> bool
fn eq(&self, other: &PaginatedCommentList) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PaginatedCommentList
impl Serialize for PaginatedCommentList
impl StructuralPartialEq for PaginatedCommentList
Auto Trait Implementations§
impl RefUnwindSafe for PaginatedCommentList
impl Send for PaginatedCommentList
impl Sync for PaginatedCommentList
impl Unpin for PaginatedCommentList
impl UnwindSafe for PaginatedCommentList
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