pub struct DataModelStructureArgs {
pub server: Option<String>,
pub project: Option<String>,
pub data_model: Option<String>,
pub include_builtins: bool,
pub format: FormatArgs,
}Expand description
Arguments for dsp vre data-model structure.
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 containing the data-model.
data_model: Option<String>Name or IRI of the data-model whose structure to show.
include_builtins: boolAlso show relations to/from the platform built-in resource-types
(e.g. inherits edges to Resource or StillImageRepresentation).
Off by default.
format: FormatArgsTrait Implementations§
Source§impl Args for DataModelStructureArgs
impl Args for DataModelStructureArgs
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 DataModelStructureArgs
impl Debug for DataModelStructureArgs
Source§impl FromArgMatches for DataModelStructureArgs
impl FromArgMatches for DataModelStructureArgs
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 DataModelStructureArgs
impl RefUnwindSafe for DataModelStructureArgs
impl Send for DataModelStructureArgs
impl Sync for DataModelStructureArgs
impl Unpin for DataModelStructureArgs
impl UnsafeUnpin for DataModelStructureArgs
impl UnwindSafe for DataModelStructureArgs
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