pub struct ChangeDescribeArgs {
pub token: String,
pub body: Option<String>,
pub body_file: Option<PathBuf>,
pub title: Option<String>,
pub json: bool,
}Expand description
Arguments for onevcs change describe.
Fields§
§token: StringThe token of the session whose change request to describe.
body: Option<String>The change request’s body, replacing what it has.
body_file: Option<PathBuf>A file holding the change request’s body. A body is prose, so this is the form a caller with a real one uses.
title: Option<String>The change request’s title, replacing what it has. Omitted, the title is left.
json: boolReport the change as it stands after the write as JSON.
Trait Implementations§
Source§impl Args for ChangeDescribeArgs
impl Args for ChangeDescribeArgs
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 Clone for ChangeDescribeArgs
impl Clone for ChangeDescribeArgs
Source§impl CommandFactory for ChangeDescribeArgs
impl CommandFactory for ChangeDescribeArgs
Source§impl Debug for ChangeDescribeArgs
impl Debug for ChangeDescribeArgs
impl Eq for ChangeDescribeArgs
Source§impl FromArgMatches for ChangeDescribeArgs
impl FromArgMatches for ChangeDescribeArgs
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.Source§impl Parser for ChangeDescribeArgs
impl Parser for ChangeDescribeArgs
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Source§impl PartialEq for ChangeDescribeArgs
impl PartialEq for ChangeDescribeArgs
impl StructuralPartialEq for ChangeDescribeArgs
Auto Trait Implementations§
impl Freeze for ChangeDescribeArgs
impl RefUnwindSafe for ChangeDescribeArgs
impl Send for ChangeDescribeArgs
impl Sync for ChangeDescribeArgs
impl Unpin for ChangeDescribeArgs
impl UnsafeUnpin for ChangeDescribeArgs
impl UnwindSafe for ChangeDescribeArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.