pub struct ActiveEventSchema {
pub name: String,
pub code: String,
pub map: Box<MapSchema>,
pub previous_map: Box<MapSchema>,
pub duration: i32,
pub expiration: String,
pub created_at: String,
}Fields§
§name: StringName of the event.
code: StringCode of the event.
map: Box<MapSchema>Map of the event.
previous_map: Box<MapSchema>Previous map skin.
duration: i32Duration in minutes.
expiration: StringExpiration datetime.
created_at: StringStart datetime.
Implementations§
Trait Implementations§
Source§impl Clone for ActiveEventSchema
impl Clone for ActiveEventSchema
Source§fn clone(&self) -> ActiveEventSchema
fn clone(&self) -> ActiveEventSchema
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 ActiveEventSchema
impl Debug for ActiveEventSchema
Source§impl Default for ActiveEventSchema
impl Default for ActiveEventSchema
Source§fn default() -> ActiveEventSchema
fn default() -> ActiveEventSchema
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActiveEventSchema
impl<'de> Deserialize<'de> for ActiveEventSchema
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 ActiveEventSchema
impl PartialEq for ActiveEventSchema
Source§impl Serialize for ActiveEventSchema
impl Serialize for ActiveEventSchema
impl StructuralPartialEq for ActiveEventSchema
Auto Trait Implementations§
impl Freeze for ActiveEventSchema
impl RefUnwindSafe for ActiveEventSchema
impl Send for ActiveEventSchema
impl Sync for ActiveEventSchema
impl Unpin for ActiveEventSchema
impl UnwindSafe for ActiveEventSchema
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