pub struct VocabularyListArgs {
pub server: Option<String>,
pub project: Option<String>,
pub filter: Option<String>,
pub count: bool,
pub format: FormatArgs,
}Expand description
Arguments for dsp vre vocabulary list.
Lists a project’s vocabularies (DSP-API “lists”). Authentication is optional — vocabularies are public data (D2/schema-side read).
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.
filter: Option<String>Filter vocabularies by case-insensitive substring over name and every label.
count: boolAlso fetch each vocabulary’s full tree to show node/depth counts (one extra HTTP request per vocabulary). Off by default.
format: FormatArgsTrait Implementations§
Source§impl Args for VocabularyListArgs
impl Args for VocabularyListArgs
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
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for VocabularyListArgs
impl Debug for VocabularyListArgs
Source§impl FromArgMatches for VocabularyListArgs
impl FromArgMatches for VocabularyListArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for VocabularyListArgs
impl RefUnwindSafe for VocabularyListArgs
impl Send for VocabularyListArgs
impl Sync for VocabularyListArgs
impl Unpin for VocabularyListArgs
impl UnsafeUnpin for VocabularyListArgs
impl UnwindSafe for VocabularyListArgs
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