pub struct SaveComment {
pub comment_id: CommentId,
pub save: bool,
}Expand description
Save / bookmark a comment.
Fields§
§comment_id: CommentId§save: boolTrait Implementations§
Source§impl Clone for SaveComment
impl Clone for SaveComment
Source§fn clone(&self) -> SaveComment
fn clone(&self) -> SaveComment
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 SaveComment
impl Debug for SaveComment
Source§impl Default for SaveComment
impl Default for SaveComment
Source§fn default() -> SaveComment
fn default() -> SaveComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SaveComment
impl<'de> Deserialize<'de> for SaveComment
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 SaveComment
impl Hash for SaveComment
Source§impl PartialEq for SaveComment
impl PartialEq for SaveComment
Source§impl Serialize for SaveComment
impl Serialize for SaveComment
impl Copy for SaveComment
impl Eq for SaveComment
impl StructuralPartialEq for SaveComment
Auto Trait Implementations§
impl Freeze for SaveComment
impl RefUnwindSafe for SaveComment
impl Send for SaveComment
impl Sync for SaveComment
impl Unpin for SaveComment
impl UnwindSafe for SaveComment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)