Enum initiative_core::world::command::WorldCommand
source · pub enum WorldCommand {
Create {
parsed_thing_data: ParsedThing<ThingData>,
},
CreateMultiple {
thing_data: ThingData,
},
Edit {
name: String,
parsed_diff: ParsedThing<ThingData>,
},
}
Variants§
Trait Implementations§
source§impl Autocomplete for WorldCommand
impl Autocomplete for WorldCommand
fn autocomplete<'life0, 'life1, 'async_trait>(
input: &'life0 str,
app_meta: &'life1 AppMeta,
) -> Pin<Box<dyn Future<Output = Vec<AutocompleteSuggestion>> + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
source§impl Clone for WorldCommand
impl Clone for WorldCommand
source§fn clone(&self) -> WorldCommand
fn clone(&self) -> WorldCommand
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 ContextAwareParse for WorldCommand
impl ContextAwareParse for WorldCommand
fn parse_input<'life0, 'life1, 'async_trait>(
input: &'life0 str,
app_meta: &'life1 AppMeta,
) -> Pin<Box<dyn Future<Output = CommandMatches<Self>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§impl Debug for WorldCommand
impl Debug for WorldCommand
source§impl Display for WorldCommand
impl Display for WorldCommand
source§impl From<WorldCommand> for CommandType
impl From<WorldCommand> for CommandType
source§fn from(c: WorldCommand) -> CommandType
fn from(c: WorldCommand) -> CommandType
Converts to this type from the input type.
source§impl PartialEq for WorldCommand
impl PartialEq for WorldCommand
source§fn eq(&self, other: &WorldCommand) -> bool
fn eq(&self, other: &WorldCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Runnable for WorldCommand
impl Runnable for WorldCommand
impl Eq for WorldCommand
impl StructuralPartialEq for WorldCommand
Auto Trait Implementations§
impl Freeze for WorldCommand
impl RefUnwindSafe for WorldCommand
impl Send for WorldCommand
impl Sync for WorldCommand
impl Unpin for WorldCommand
impl UnwindSafe for WorldCommand
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)