pub struct ApproveArgs {
pub entry_id: String,
pub approver: String,
pub approver_kind: String,
pub message: Option<String>,
}Fields§
§entry_id: StringEntry id (e.g., led_abc…) to approve.
approver: StringApprover identifier. Recorded as approved-by:<id>.
approver_kind: StringApprover kind. Must match one of the approver:* tags unless
the id itself matches.
message: Option<String>Optional rationale — appended to the entry body as an “Approver note” section.
Trait Implementations§
Source§impl Args for ApproveArgs
impl Args for ApproveArgs
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 ApproveArgs
impl Debug for ApproveArgs
Source§impl FromArgMatches for ApproveArgs
impl FromArgMatches for ApproveArgs
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 ApproveArgs
impl RefUnwindSafe for ApproveArgs
impl Send for ApproveArgs
impl Sync for ApproveArgs
impl Unpin for ApproveArgs
impl UnsafeUnpin for ApproveArgs
impl UnwindSafe for ApproveArgs
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