Struct lemmy_api_common::comment::EditComment
source · pub struct EditComment {
pub comment_id: CommentId,
pub content: Option<String>,
pub language_id: Option<LanguageId>,
}Expand description
Edit a comment.
Fields§
§comment_id: CommentId§content: Option<String>§language_id: Option<LanguageId>Trait Implementations§
source§impl Clone for EditComment
impl Clone for EditComment
source§fn clone(&self) -> EditComment
fn clone(&self) -> EditComment
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 EditComment
impl Debug for EditComment
source§impl Default for EditComment
impl Default for EditComment
source§fn default() -> EditComment
fn default() -> EditComment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EditComment
impl<'de> Deserialize<'de> for EditComment
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 EditComment
impl Send for EditComment
impl Sync for EditComment
impl Unpin for EditComment
impl UnwindSafe for EditComment
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