pub struct PhraseEvent {
pub definition: TypeDefinitionCommon,
pub event: EventDefinitionCommon,
pub name: String,
pub related_to: Vec<String>,
}
Expand description
Defines an automatic transition between Facts, e.g.,
Event fire Obfuscates vote.
Fields§
§definition: TypeDefinitionCommon
The common fields for this definition.
event: EventDefinitionCommon
The common fields for event-likes.
name: String
The name of the new event type.
Any fields for this event, basically.
Trait Implementations§
Source§impl Clone for PhraseEvent
impl Clone for PhraseEvent
Source§fn clone(&self) -> PhraseEvent
fn clone(&self) -> PhraseEvent
Returns a copy 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 PhraseEvent
impl Debug for PhraseEvent
Source§impl<'de> Deserialize<'de> for PhraseEvent
impl<'de> Deserialize<'de> for PhraseEvent
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 PhraseEvent
impl RefUnwindSafe for PhraseEvent
impl Send for PhraseEvent
impl Sync for PhraseEvent
impl Unpin for PhraseEvent
impl UnwindSafe for PhraseEvent
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