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 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 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
Source§impl Hash for EditComment
impl Hash for EditComment
Source§impl PartialEq for EditComment
impl PartialEq for EditComment
Source§impl Serialize for EditComment
impl Serialize for EditComment
impl Eq for EditComment
impl StructuralPartialEq for EditComment
Auto Trait Implementations§
impl Freeze for EditComment
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