pub struct CommentLogEntry {
pub d: String,
pub t: CommentLogType,
pub da: Option<Box<CommentLogData>>,
}Fields§
§d: String§t: CommentLogType§da: Option<Box<CommentLogData>>Implementations§
Source§impl CommentLogEntry
impl CommentLogEntry
pub fn new(d: String, t: CommentLogType) -> CommentLogEntry
Trait Implementations§
Source§impl Clone for CommentLogEntry
impl Clone for CommentLogEntry
Source§fn clone(&self) -> CommentLogEntry
fn clone(&self) -> CommentLogEntry
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 CommentLogEntry
impl Debug for CommentLogEntry
Source§impl Default for CommentLogEntry
impl Default for CommentLogEntry
Source§fn default() -> CommentLogEntry
fn default() -> CommentLogEntry
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommentLogEntry
impl<'de> Deserialize<'de> for CommentLogEntry
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 CommentLogEntry
impl PartialEq for CommentLogEntry
Source§impl Serialize for CommentLogEntry
impl Serialize for CommentLogEntry
impl StructuralPartialEq for CommentLogEntry
Auto Trait Implementations§
impl Freeze for CommentLogEntry
impl RefUnwindSafe for CommentLogEntry
impl Send for CommentLogEntry
impl Sync for CommentLogEntry
impl Unpin for CommentLogEntry
impl UnwindSafe for CommentLogEntry
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