pub struct ModerationApiCommentLog {
pub date: DateTime<FixedOffset>,
pub username: Option<String>,
pub action_name: String,
pub message_html: String,
}Fields§
§date: DateTime<FixedOffset>§username: Option<String>§action_name: String§message_html: StringImplementations§
Source§impl ModerationApiCommentLog
impl ModerationApiCommentLog
pub fn new( date: DateTime<FixedOffset>, action_name: String, message_html: String, ) -> ModerationApiCommentLog
Trait Implementations§
Source§impl Clone for ModerationApiCommentLog
impl Clone for ModerationApiCommentLog
Source§fn clone(&self) -> ModerationApiCommentLog
fn clone(&self) -> ModerationApiCommentLog
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 ModerationApiCommentLog
impl Debug for ModerationApiCommentLog
Source§impl Default for ModerationApiCommentLog
impl Default for ModerationApiCommentLog
Source§fn default() -> ModerationApiCommentLog
fn default() -> ModerationApiCommentLog
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModerationApiCommentLog
impl<'de> Deserialize<'de> for ModerationApiCommentLog
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 ModerationApiCommentLog
impl PartialEq for ModerationApiCommentLog
Source§fn eq(&self, other: &ModerationApiCommentLog) -> bool
fn eq(&self, other: &ModerationApiCommentLog) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ModerationApiCommentLog
impl Serialize for ModerationApiCommentLog
impl StructuralPartialEq for ModerationApiCommentLog
Auto Trait Implementations§
impl Freeze for ModerationApiCommentLog
impl RefUnwindSafe for ModerationApiCommentLog
impl Send for ModerationApiCommentLog
impl Sync for ModerationApiCommentLog
impl Unpin for ModerationApiCommentLog
impl UnsafeUnpin for ModerationApiCommentLog
impl UnwindSafe for ModerationApiCommentLog
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