pub enum SemanticAction {
SelfMove {
destination: TerritoryId,
cargo: Vec<LetterId>,
},
MoveEntity {
subject: EntityRef,
destination: TerritoryId,
cargo: Vec<LetterId>,
},
Plugin {
plugin: String,
action: String,
payload: Value,
},
}Variants§
Trait Implementations§
Source§impl Clone for SemanticAction
impl Clone for SemanticAction
Source§fn clone(&self) -> SemanticAction
fn clone(&self) -> SemanticAction
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 SemanticAction
impl Debug for SemanticAction
Source§impl<'de> Deserialize<'de> for SemanticAction
impl<'de> Deserialize<'de> for SemanticAction
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 SemanticAction
impl PartialEq for SemanticAction
Source§impl Serialize for SemanticAction
impl Serialize for SemanticAction
impl StructuralPartialEq for SemanticAction
Auto Trait Implementations§
impl Freeze for SemanticAction
impl RefUnwindSafe for SemanticAction
impl Send for SemanticAction
impl Sync for SemanticAction
impl Unpin for SemanticAction
impl UnsafeUnpin for SemanticAction
impl UnwindSafe for SemanticAction
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