pub struct ResourceTypeDescribeArgs {
pub server: Option<String>,
pub project: Option<String>,
pub data_model: Option<String>,
pub resource_type: Option<String>,
pub include_builtins: bool,
pub format: FormatArgs,
}Expand description
Arguments for dsp vre resource-type describe.
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.
data_model: Option<String>Name or IRI of the data-model containing the resource-type.
resource_type: Option<String>Name or IRI of the resource-type to describe.
include_builtins: boolAlso show the built-in (platform) fields every resource inherits (arkUrl, permissions, timestamps, …). Off by default.
format: FormatArgsTrait Implementations§
Source§impl Args for ResourceTypeDescribeArgs
impl Args for ResourceTypeDescribeArgs
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 ResourceTypeDescribeArgs
impl Debug for ResourceTypeDescribeArgs
Source§impl FromArgMatches for ResourceTypeDescribeArgs
impl FromArgMatches for ResourceTypeDescribeArgs
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 ResourceTypeDescribeArgs
impl RefUnwindSafe for ResourceTypeDescribeArgs
impl Send for ResourceTypeDescribeArgs
impl Sync for ResourceTypeDescribeArgs
impl Unpin for ResourceTypeDescribeArgs
impl UnsafeUnpin for ResourceTypeDescribeArgs
impl UnwindSafe for ResourceTypeDescribeArgs
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