pub struct ScenarioEventConfig {
pub name: String,
pub trigger: String,
pub actions: Vec<String>,
}Fields§
§name: String§trigger: String§actions: Vec<String>Trait Implementations§
Source§impl Clone for ScenarioEventConfig
impl Clone for ScenarioEventConfig
Source§fn clone(&self) -> ScenarioEventConfig
fn clone(&self) -> ScenarioEventConfig
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 ScenarioEventConfig
impl Debug for ScenarioEventConfig
Source§impl<'de> Deserialize<'de> for ScenarioEventConfig
impl<'de> Deserialize<'de> for ScenarioEventConfig
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
Auto Trait Implementations§
impl Freeze for ScenarioEventConfig
impl RefUnwindSafe for ScenarioEventConfig
impl Send for ScenarioEventConfig
impl Sync for ScenarioEventConfig
impl Unpin for ScenarioEventConfig
impl UnwindSafe for ScenarioEventConfig
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