pub struct UserComment {
pub comment: Option<String>,
pub commenter_id: Option<Uuid>,
pub id: Option<Uuid>,
pub insert_instant: Option<i64>,
pub user_id: Option<Uuid>,
}
Expand description
UserComment : A log for an event that happened to a User.
Fields§
§comment: Option<String>
§commenter_id: Option<Uuid>
§id: Option<Uuid>
§insert_instant: Option<i64>
The number of milliseconds since the unix epoch: January 1, 1970 00:00:00 UTC. This value is always in UTC.
user_id: Option<Uuid>
Implementations§
Source§impl UserComment
impl UserComment
Sourcepub fn new() -> UserComment
pub fn new() -> UserComment
A log for an event that happened to a User.
Trait Implementations§
Source§impl Clone for UserComment
impl Clone for UserComment
Source§fn clone(&self) -> UserComment
fn clone(&self) -> UserComment
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UserComment
impl Debug for UserComment
Source§impl Default for UserComment
impl Default for UserComment
Source§fn default() -> UserComment
fn default() -> UserComment
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UserComment
impl<'de> Deserialize<'de> for UserComment
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 UserComment
impl PartialEq for UserComment
Source§impl Serialize for UserComment
impl Serialize for UserComment
impl StructuralPartialEq for UserComment
Auto Trait Implementations§
impl Freeze for UserComment
impl RefUnwindSafe for UserComment
impl Send for UserComment
impl Sync for UserComment
impl Unpin for UserComment
impl UnwindSafe for UserComment
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