pub struct ApiGetCommentsResponse {
pub status: ApiStatus,
pub comments: Vec<ApiComment>,
}Fields§
§status: ApiStatus§comments: Vec<ApiComment>Implementations§
Source§impl ApiGetCommentsResponse
impl ApiGetCommentsResponse
pub fn new( status: ApiStatus, comments: Vec<ApiComment>, ) -> ApiGetCommentsResponse
Trait Implementations§
Source§impl Clone for ApiGetCommentsResponse
impl Clone for ApiGetCommentsResponse
Source§fn clone(&self) -> ApiGetCommentsResponse
fn clone(&self) -> ApiGetCommentsResponse
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 ApiGetCommentsResponse
impl Debug for ApiGetCommentsResponse
Source§impl Default for ApiGetCommentsResponse
impl Default for ApiGetCommentsResponse
Source§fn default() -> ApiGetCommentsResponse
fn default() -> ApiGetCommentsResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ApiGetCommentsResponse
impl<'de> Deserialize<'de> for ApiGetCommentsResponse
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 ApiGetCommentsResponse
impl PartialEq for ApiGetCommentsResponse
Source§impl Serialize for ApiGetCommentsResponse
impl Serialize for ApiGetCommentsResponse
impl StructuralPartialEq for ApiGetCommentsResponse
Auto Trait Implementations§
impl Freeze for ApiGetCommentsResponse
impl RefUnwindSafe for ApiGetCommentsResponse
impl Send for ApiGetCommentsResponse
impl Sync for ApiGetCommentsResponse
impl Unpin for ApiGetCommentsResponse
impl UnwindSafe for ApiGetCommentsResponse
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