pub(crate) enum FlowTypesCommands {
Show 15 variants
#[non_exhaustive] List,
#[non_exhaustive] Get {
flow_ty: FlowTypeId,
},
#[non_exhaustive] ListVariables {
flow_ty: FlowTypeId,
},
#[non_exhaustive] ListExtensions {
flow_ty: FlowTypeId,
},
#[non_exhaustive] GetJsonSchema {
flow_ty: FlowTypeId,
},
#[non_exhaustive] Create(CreateFlowTypeArgs),
#[non_exhaustive] Delete {
flow_ty: FlowTypeId,
},
#[non_exhaustive] AddVariable(FlowTypeAddVariableArgs),
#[non_exhaustive] RemoveVariable(FlowTypeVariableArgs),
#[non_exhaustive] AddExtension(FlowTypeAddExtensionArgs),
#[non_exhaustive] RemoveExtension(FlowExtensionTypeIdArgs),
#[non_exhaustive] UpdateDescription(FlowTypeUpdateDescriptionArgs),
#[non_exhaustive] AddEntityInstance(FlowTypeAddEntityInstanceArgs),
#[non_exhaustive] RemoveEntityInstance(FlowTypeRemoveEntityInstanceArgs),
#[non_exhaustive] JsonSchema,
}Variants§
#[non_exhaustive]List
List all flow types.
#[non_exhaustive]Get
Prints a single flow type.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
flow_ty: FlowTypeId#[non_exhaustive]ListVariables
List the variables of a flow type.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
flow_ty: FlowTypeId#[non_exhaustive]ListExtensions
List the extensions of a flow type.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
flow_ty: FlowTypeId#[non_exhaustive]GetJsonSchema
Prints the JSON Schema of a flow type.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
flow_ty: FlowTypeId#[non_exhaustive]Create(CreateFlowTypeArgs)
Creates a new flow type.
#[non_exhaustive]Delete
Deletes a flow type.
Fields
This variant is marked as non-exhaustive
Non-exhaustive enum variants could have additional fields added in future. Therefore, non-exhaustive enum variants cannot be constructed in external crates and cannot be matched against.
§
flow_ty: FlowTypeId#[non_exhaustive]AddVariable(FlowTypeAddVariableArgs)
Adds a property to a flow type.
#[non_exhaustive]RemoveVariable(FlowTypeVariableArgs)
Removes a property from a flow type.
#[non_exhaustive]AddExtension(FlowTypeAddExtensionArgs)
Adds an extension to a flow type.
#[non_exhaustive]RemoveExtension(FlowExtensionTypeIdArgs)
Removes an extension from a flow type.
#[non_exhaustive]UpdateDescription(FlowTypeUpdateDescriptionArgs)
Updates the description of a flow type.
#[non_exhaustive]AddEntityInstance(FlowTypeAddEntityInstanceArgs)
Adds a new entity instance to a flow type.
#[non_exhaustive]RemoveEntityInstance(FlowTypeRemoveEntityInstanceArgs)
Removes an entity instance to a flow type.
#[non_exhaustive]JsonSchema
Prints the JSON Schema of flow types.
Trait Implementations§
Source§impl Clone for FlowTypesCommands
impl Clone for FlowTypesCommands
Source§fn clone(&self) -> FlowTypesCommands
fn clone(&self) -> FlowTypesCommands
Returns a duplicate 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 FlowTypesCommands
impl Debug for FlowTypesCommands
Source§impl FromArgMatches for FlowTypesCommands
impl FromArgMatches for FlowTypesCommands
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 FlowTypesCommands
impl Subcommand for FlowTypesCommands
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 FlowTypesCommands
impl RefUnwindSafe for FlowTypesCommands
impl Send for FlowTypesCommands
impl Sync for FlowTypesCommands
impl Unpin for FlowTypesCommands
impl UnwindSafe for FlowTypesCommands
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