Enum initiative_core::storage::command::StorageCommand
source · pub enum StorageCommand {
Delete {
name: String,
},
Export,
Import,
Journal,
Load {
name: String,
},
Redo,
Save {
name: String,
},
Undo,
}
Variants§
Trait Implementations§
source§impl Autocomplete for StorageCommand
impl Autocomplete for StorageCommand
fn autocomplete<'life0, 'life1, 'async_trait>(
input: &'life0 str,
app_meta: &'life1 AppMeta,
) -> Pin<Box<dyn Future<Output = Vec<AutocompleteSuggestion>> + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
source§impl Clone for StorageCommand
impl Clone for StorageCommand
source§fn clone(&self) -> StorageCommand
fn clone(&self) -> StorageCommand
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 StorageCommand
impl ContextAwareParse for StorageCommand
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 StorageCommand
impl Debug for StorageCommand
source§impl Display for StorageCommand
impl Display for StorageCommand
source§impl From<StorageCommand> for CommandType
impl From<StorageCommand> for CommandType
source§fn from(c: StorageCommand) -> CommandType
fn from(c: StorageCommand) -> CommandType
Converts to this type from the input type.
source§impl PartialEq for StorageCommand
impl PartialEq for StorageCommand
source§fn eq(&self, other: &StorageCommand) -> bool
fn eq(&self, other: &StorageCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Runnable for StorageCommand
impl Runnable for StorageCommand
impl Eq for StorageCommand
impl StructuralPartialEq for StorageCommand
Auto Trait Implementations§
impl Freeze for StorageCommand
impl RefUnwindSafe for StorageCommand
impl Send for StorageCommand
impl Sync for StorageCommand
impl Unpin for StorageCommand
impl UnwindSafe for StorageCommand
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
)