pub struct LogSchema {
pub character: String,
pub account: String,
pub type: LogType,
pub description: String,
pub content: Option<Value>,
pub cooldown: i32,
pub cooldown_expiration: Option<String>,
pub created_at: String,
}Fields§
§character: StringCharacter name.
account: StringAccount character.
type: LogTypeType of action.
description: StringDescription of action.
content: Option<Value>§cooldown: i32Cooldown in seconds.
cooldown_expiration: Option<String>§created_at: StringDatetime of creation.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogSchema
impl<'de> Deserialize<'de> for LogSchema
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
impl StructuralPartialEq for LogSchema
Auto Trait Implementations§
impl Freeze for LogSchema
impl RefUnwindSafe for LogSchema
impl Send for LogSchema
impl Sync for LogSchema
impl Unpin for LogSchema
impl UnwindSafe for LogSchema
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