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