pub struct SupersedeArgs {
pub qname: String,
pub supersedes: Vec<String>,
pub kind: CliLedgerKind,
pub summary: String,
pub body: Option<PathBuf>,
pub author_kind: CliAuthorKind,
pub author_id: String,
}Fields§
§qname: StringQname the new entry attaches to.
supersedes: Vec<String>One or more entry ids to supersede. All must belong to the same
symbol as qname.
kind: CliLedgerKindLedger kind for the new entry.
summary: StringOne-line summary for the new entry.
body: Option<PathBuf>Optional body file.
Author kind.
Author id.
Trait Implementations§
Source§impl Args for SupersedeArgs
impl Args for SupersedeArgs
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 SupersedeArgs
impl Debug for SupersedeArgs
Source§impl FromArgMatches for SupersedeArgs
impl FromArgMatches for SupersedeArgs
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 SupersedeArgs
impl RefUnwindSafe for SupersedeArgs
impl Send for SupersedeArgs
impl Sync for SupersedeArgs
impl Unpin for SupersedeArgs
impl UnsafeUnpin for SupersedeArgs
impl UnwindSafe for SupersedeArgs
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