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>,
},
ResolveDecisionRandomly {
resolution: RandomDecisionResolution,
},
PublishKnowledge {
holder: KnowledgeHolderRef,
visibility: StateVisibility,
producer_correlation: Option<String>,
records: Vec<KnowledgeRecordDraft>,
summary: String,
},
}Variants§
SetComponent
MutateRecord
Emit
ScheduleIngress
SchedulePluginIngress
Fields
§
after: SimDurationResolveDecisionRandomly
Fields
§
resolution: RandomDecisionResolutionPublishKnowledge
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<BoundaryDirective, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BoundaryDirective, <__D as Deserializer<'de>>::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
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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