pub struct CommentBase {
pub id: Option<String>,
pub type: Option<CommentType>,
}Fields§
§id: Option<String>§type: Option<CommentType>Trait Implementations§
Source§impl Clone for CommentBase
impl Clone for CommentBase
Source§fn clone(&self) -> CommentBase
fn clone(&self) -> CommentBase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CommentBase
impl Debug for CommentBase
Source§impl Default for CommentBase
impl Default for CommentBase
Source§fn default() -> CommentBase
fn default() -> CommentBase
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentBase
impl<'de> Deserialize<'de> for CommentBase
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 CommentBase
impl PartialEq for CommentBase
Source§impl Serialize for CommentBase
impl Serialize for CommentBase
impl StructuralPartialEq for CommentBase
Auto Trait Implementations§
impl Freeze for CommentBase
impl RefUnwindSafe for CommentBase
impl Send for CommentBase
impl Sync for CommentBase
impl Unpin for CommentBase
impl UnsafeUnpin for CommentBase
impl UnwindSafe for CommentBase
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