pub struct VocabularyDescribeArgs {
pub server: Option<String>,
pub project: Option<String>,
pub vocabulary: Option<String>,
pub subtree: bool,
pub format: FormatArgs,
}Expand description
Arguments for dsp vre vocabulary describe.
Describes a single vocabulary’s full tree, with no depth limit and no
pagination. A node IRI (e.g. pasted from resource describe --values)
resolves upward to its vocabulary automatically and is marked in the
output; use --subtree to narrow output to that node’s own branch.
Fields§
§server: Option<String>DSP server URL or shortcut (e.g. https://api.example.org or prod).
Can also be set via the DSP_SERVER environment variable or a .env file.
project: Option<String>Shortcode, shortname, or IRI of the project. Required only when –vocabulary is a bare name (a full IRI needs no project).
vocabulary: Option<String>Name or IRI of the vocabulary (or one of its nodes) to describe.
subtree: boolNarrow output to the addressed node’s own branch. Requires a node IRI (a bare name or a root IRI is a usage error).
format: FormatArgsTrait Implementations§
Source§impl Args for VocabularyDescribeArgs
impl Args for VocabularyDescribeArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for VocabularyDescribeArgs
impl Debug for VocabularyDescribeArgs
Source§impl FromArgMatches for VocabularyDescribeArgs
impl FromArgMatches for VocabularyDescribeArgs
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>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.