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§impl Debug for ApiGetCommentResponse
impl Debug for ApiGetCommentResponse
Source§impl Default for ApiGetCommentResponse
impl Default for ApiGetCommentResponse
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 Forget for ApiGetCommentResponse
impl Freeze for ApiGetCommentResponse
impl Move for ApiGetCommentResponse
impl RefUnwindSafe for ApiGetCommentResponse
impl Send for ApiGetCommentResponsewhere
BoxRaw<ApiComment>: Send,
impl Sync for ApiGetCommentResponsewhere
BoxRaw<ApiComment>: Sync,
impl Unpin for ApiGetCommentResponse
impl UnsafeUnpin for ApiGetCommentResponse
impl UnwindSafe for ApiGetCommentResponsewhere
BoxRaw<ApiComment>: UnwindSafe,
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