pub struct PageOfComments {
pub start_at: Option<i64>,
pub max_results: Option<i32>,
pub total: Option<i64>,
pub comments: Option<Vec<Comment>>,
}
Expand description
PageOfComments : A page of comments.
Fields§
§start_at: Option<i64>
The index of the first item returned.
max_results: Option<i32>
The maximum number of items that could be returned.
total: Option<i64>
The number of items returned.
comments: Option<Vec<Comment>>
The list of comments.
Implementations§
Source§impl PageOfComments
impl PageOfComments
Sourcepub fn new() -> PageOfComments
pub fn new() -> PageOfComments
A page of comments.
Trait Implementations§
Source§impl Clone for PageOfComments
impl Clone for PageOfComments
Source§fn clone(&self) -> PageOfComments
fn clone(&self) -> PageOfComments
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 PageOfComments
impl Debug for PageOfComments
Source§impl Default for PageOfComments
impl Default for PageOfComments
Source§fn default() -> PageOfComments
fn default() -> PageOfComments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PageOfComments
impl<'de> Deserialize<'de> for PageOfComments
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 PageOfComments
impl PartialEq for PageOfComments
Source§impl Serialize for PageOfComments
impl Serialize for PageOfComments
impl StructuralPartialEq for PageOfComments
Auto Trait Implementations§
impl Freeze for PageOfComments
impl RefUnwindSafe for PageOfComments
impl Send for PageOfComments
impl Sync for PageOfComments
impl Unpin for PageOfComments
impl UnwindSafe for PageOfComments
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