pub struct EventDefinitionCommon {
pub syncs_with: Vec<Expression>,
pub creates: Vec<Expression>,
pub terminates: Vec<Expression>,
pub obfuscates: Vec<Expression>,
}
Expand description
Represents common fields for all event-like definition phrases.
Fields§
§syncs_with: Vec<Expression>
A list of other Events and Acts that are triggered when this Event or Act triggers.
These are instance expressions generating the lists.
creates: Vec<Expression>
A list of instance expressions generating all the facts that are postulated to true when this Event or Act triggers.
terminates: Vec<Expression>
A list of instance expressions generating all the facts that are postulated to false when this Event or Act triggers.
obfuscates: Vec<Expression>
A list of instance expressions generating all the facts whos postulation is removed when this Event or Act triggers.
Trait Implementations§
Source§impl Clone for EventDefinitionCommon
impl Clone for EventDefinitionCommon
Source§fn clone(&self) -> EventDefinitionCommon
fn clone(&self) -> EventDefinitionCommon
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 EventDefinitionCommon
impl Debug for EventDefinitionCommon
Source§impl<'de> Deserialize<'de> for EventDefinitionCommon
impl<'de> Deserialize<'de> for EventDefinitionCommon
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 EventDefinitionCommon
impl RefUnwindSafe for EventDefinitionCommon
impl Send for EventDefinitionCommon
impl Sync for EventDefinitionCommon
impl Unpin for EventDefinitionCommon
impl UnwindSafe for EventDefinitionCommon
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