pub struct EngineCrashUpdate {
pub details: Option<String>,
pub type_: Value,
}Expand description
The engine process for battle has crashed, no more updates will be sent for this battle.
JSON schema
{
"title": "EngineCrashUpdate",
"description": "The engine process for battle has crashed, no more updates will be sent for this battle.",
"type": "object",
"required": [
"type"
],
"properties": {
"details": {
"description": "Optional, short, details of the crash.",
"type": "string"
},
"type": {
"const": "engine_crash"
}
}
}Fields§
§details: Option<String>Optional, short, details of the crash.
type_: ValueImplementations§
Source§impl EngineCrashUpdate
impl EngineCrashUpdate
pub fn builder() -> EngineCrashUpdate
Trait Implementations§
Source§impl Clone for EngineCrashUpdate
impl Clone for EngineCrashUpdate
Source§fn clone(&self) -> EngineCrashUpdate
fn clone(&self) -> EngineCrashUpdate
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 EngineCrashUpdate
impl Debug for EngineCrashUpdate
Source§impl<'de> Deserialize<'de> for EngineCrashUpdate
impl<'de> Deserialize<'de> for EngineCrashUpdate
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 From<EngineCrashUpdate> for EngineCrashUpdate
impl From<EngineCrashUpdate> for EngineCrashUpdate
Source§fn from(value: EngineCrashUpdate) -> Self
fn from(value: EngineCrashUpdate) -> Self
Converts to this type from the input type.
Source§impl Serialize for EngineCrashUpdate
impl Serialize for EngineCrashUpdate
Source§impl TryFrom<EngineCrashUpdate> for EngineCrashUpdate
impl TryFrom<EngineCrashUpdate> for EngineCrashUpdate
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: EngineCrashUpdate) -> Result<Self, ConversionError>
fn try_from(value: EngineCrashUpdate) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for EngineCrashUpdate
impl RefUnwindSafe for EngineCrashUpdate
impl Send for EngineCrashUpdate
impl Sync for EngineCrashUpdate
impl Unpin for EngineCrashUpdate
impl UnsafeUnpin for EngineCrashUpdate
impl UnwindSafe for EngineCrashUpdate
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