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