pub(crate) enum EntityInstancesCommands {
Show 14 variants
List(SearchEntityInstancesArgs),
Get(IdArgs),
GetByLabel(LabelArgs),
ListProperties(IdArgs),
GetProperty(IdAndPropertyArgs),
SetProperty(SetPropertyArgs),
AddProperty(AddPropertyArgs),
RemoveProperty(IdAndPropertyArgs),
ListComponents(IdArgs),
AddComponent(IdAndComponentArgs),
RemoveComponent(IdAndComponentArgs),
Create(CreateEntityInstanceArgs),
Delete(IdArgs),
JsonSchema,
}
Variants§
List(SearchEntityInstancesArgs)
List all entity instances.
Get(IdArgs)
Prints a single entity instance.
GetByLabel(LabelArgs)
Prints a single entity instance.
ListProperties(IdArgs)
Lists the properties of an entity instance.
GetProperty(IdAndPropertyArgs)
Prints the value of a property of an entity instance.
SetProperty(SetPropertyArgs)
Sets the value of a property of an entity instance.
AddProperty(AddPropertyArgs)
Adds a new property to an entity instance.
RemoveProperty(IdAndPropertyArgs)
Removes a property from an entity instance.
ListComponents(IdArgs)
Lists the components of an entity instance.
AddComponent(IdAndComponentArgs)
Adds a component to an entity instance.
RemoveComponent(IdAndComponentArgs)
Removes a component from an entity instance.
Create(CreateEntityInstanceArgs)
Creates a new entity type.
Delete(IdArgs)
JsonSchema
Prints the JSON Schema of entity instances.
Trait Implementations§
Source§impl Clone for EntityInstancesCommands
impl Clone for EntityInstancesCommands
Source§fn clone(&self) -> EntityInstancesCommands
fn clone(&self) -> EntityInstancesCommands
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 Debug for EntityInstancesCommands
impl Debug for EntityInstancesCommands
Source§impl FromArgMatches for EntityInstancesCommands
impl FromArgMatches for EntityInstancesCommands
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.Source§impl Subcommand for EntityInstancesCommands
impl Subcommand for EntityInstancesCommands
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command
] so it can instantiate self
via
[FromArgMatches::update_from_arg_matches_mut
] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
impl Freeze for EntityInstancesCommands
impl RefUnwindSafe for EntityInstancesCommands
impl Send for EntityInstancesCommands
impl Sync for EntityInstancesCommands
impl Unpin for EntityInstancesCommands
impl UnwindSafe for EntityInstancesCommands
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more