pub enum BoundaryDirective {
SetComponent {
state: StateKey,
entity: EntityRef,
component: String,
value: Value,
summary: String,
},
MutateRecord {
mutation: DomainRecordMutation,
summary: String,
},
Emit {
event_type: String,
summary: String,
affected: Vec<EntityRef>,
},
ScheduleIngress {
after: SimDuration,
packet_type: String,
priority: i32,
payload: Value,
affected: Vec<EntityRef>,
},
SchedulePluginIngress {
target_plugin: String,
after: SimDuration,
packet_type: String,
priority: i32,
payload: Value,
affected: Vec<EntityRef>,
},
PublishKnowledge {
holder: KnowledgeHolderRef,
visibility: StateVisibility,
producer_correlation: Option<String>,
records: Vec<KnowledgeRecordDraft>,
summary: String,
},
}Variants§
SetComponent
MutateRecord
Emit
ScheduleIngress
SchedulePluginIngress
Fields
§
after: SimDurationPublishKnowledge
Trait Implementations§
Source§impl Clone for BoundaryDirective
impl Clone for BoundaryDirective
Source§fn clone(&self) -> BoundaryDirective
fn clone(&self) -> BoundaryDirective
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BoundaryDirective
impl Debug for BoundaryDirective
Source§impl<'de> Deserialize<'de> for BoundaryDirective
impl<'de> Deserialize<'de> for BoundaryDirective
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 PartialEq for BoundaryDirective
impl PartialEq for BoundaryDirective
Source§impl Serialize for BoundaryDirective
impl Serialize for BoundaryDirective
impl StructuralPartialEq for BoundaryDirective
Auto Trait Implementations§
impl Freeze for BoundaryDirective
impl RefUnwindSafe for BoundaryDirective
impl Send for BoundaryDirective
impl Sync for BoundaryDirective
impl Unpin for BoundaryDirective
impl UnsafeUnpin for BoundaryDirective
impl UnwindSafe for BoundaryDirective
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