pub struct ModerationLog {
pub id: Id<ModerationLog>,
pub created_at: DateTime<Utc>,
pub user_id: Id<User>,
pub user: User,
pub type_: String,
pub info: Map<String, Value>,
}Fields§
§id: Id<ModerationLog>§created_at: DateTime<Utc>§user_id: Id<User>§user: User§type_: String§info: Map<String, Value>Trait Implementations§
Source§impl Clone for ModerationLog
impl Clone for ModerationLog
Source§fn clone(&self) -> ModerationLog
fn clone(&self) -> ModerationLog
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 ModerationLog
impl Debug for ModerationLog
Source§impl<'de> Deserialize<'de> for ModerationLog
impl<'de> Deserialize<'de> for ModerationLog
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 Entity for ModerationLog
impl Entity for ModerationLog
Source§fn id(&self) -> Id<ModerationLog>
fn id(&self) -> Id<ModerationLog>
Gets the ID.
Source§impl PaginationItem for ModerationLog
impl PaginationItem for ModerationLog
Source§type Id = Id<ModerationLog>
type Id = Id<ModerationLog>
The ID type.
Source§fn item_id(&self) -> Id<ModerationLog>
fn item_id(&self) -> Id<ModerationLog>
Extracts an ID from the item.
Auto Trait Implementations§
impl Freeze for ModerationLog
impl RefUnwindSafe for ModerationLog
impl Send for ModerationLog
impl Sync for ModerationLog
impl Unpin for ModerationLog
impl UnwindSafe for ModerationLog
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