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