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(input: WorldCommand) -> CommandType
fn from(input: WorldCommand) -> CommandType
Converts to this type from the input type.
Source§impl PartialEq for WorldCommand
impl PartialEq for WorldCommand
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