pub(crate) enum RelationTypesCommands {
Show 15 variants
List,
Get(RelationTypeIdArgs),
ListProperties(RelationTypeIdArgs),
ListExtensions(RelationTypeIdArgs),
ListComponents(RelationTypeIdArgs),
Create(CreateRelationTypeArgs),
Delete(RelationTypeIdArgs),
AddProperty(RelationTypeAddPropertyArgs),
RemoveProperty(RelationTypePropertyArgs),
AddExtension(RelationTypeAddExtensionArgs),
RemoveExtension(RelationExtensionTypeIdArgs),
AddComponent(RelationComponentTypeIdArgs),
RemoveComponent(RelationComponentTypeIdArgs),
UpdateDescription(RelationTypeUpdateDescriptionArgs),
JsonSchema,
}
Variants§
List
List all relation types.
Get(RelationTypeIdArgs)
Prints a single relation type.
ListProperties(RelationTypeIdArgs)
List the properties of an relation type.
ListExtensions(RelationTypeIdArgs)
List the extensions of an relation type.
ListComponents(RelationTypeIdArgs)
List the components of an relation type.
Create(CreateRelationTypeArgs)
Creates a new relation type.
Delete(RelationTypeIdArgs)
Deletes a relation type.
AddProperty(RelationTypeAddPropertyArgs)
Adds a property to a relation type.
RemoveProperty(RelationTypePropertyArgs)
Removes a property from a relation type.
AddExtension(RelationTypeAddExtensionArgs)
Adds an extension to a relation type.
RemoveExtension(RelationExtensionTypeIdArgs)
Removes an extension from a relation type.
AddComponent(RelationComponentTypeIdArgs)
Adds a component to a relation type.
RemoveComponent(RelationComponentTypeIdArgs)
Removes a component from a relation type.
UpdateDescription(RelationTypeUpdateDescriptionArgs)
Updates the description of a relation type.
JsonSchema
Prints the JSON Schema of relation types.
Trait Implementations§
Source§impl Clone for RelationTypesCommands
impl Clone for RelationTypesCommands
Source§fn clone(&self) -> RelationTypesCommands
fn clone(&self) -> RelationTypesCommands
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 RelationTypesCommands
impl Debug for RelationTypesCommands
Source§impl FromArgMatches for RelationTypesCommands
impl FromArgMatches for RelationTypesCommands
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 RelationTypesCommands
impl Subcommand for RelationTypesCommands
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 RelationTypesCommands
impl RefUnwindSafe for RelationTypesCommands
impl Send for RelationTypesCommands
impl Sync for RelationTypesCommands
impl Unpin for RelationTypesCommands
impl UnwindSafe for RelationTypesCommands
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> CloneAny for T
impl<T> CloneAny for T
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