Struct lemmy_api_common::comment::CommentResponse
source · pub struct CommentResponse {
pub comment_view: CommentView,
pub recipient_ids: Vec<LocalUserId>,
}
Expand description
A comment response.
Fields§
§comment_view: CommentView
§recipient_ids: Vec<LocalUserId>
Trait Implementations§
source§impl Clone for CommentResponse
impl Clone for CommentResponse
source§fn clone(&self) -> CommentResponse
fn clone(&self) -> CommentResponse
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 CommentResponse
impl Debug for CommentResponse
source§impl<'de> Deserialize<'de> for CommentResponse
impl<'de> Deserialize<'de> for CommentResponse
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
Auto Trait Implementations§
impl RefUnwindSafe for CommentResponse
impl Send for CommentResponse
impl Sync for CommentResponse
impl Unpin for CommentResponse
impl UnwindSafe for CommentResponse
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