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