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