pub struct ClaimArgs {
pub unit: String,
pub holder: String,
pub lease_minutes: i64,
pub sdd: Option<String>,
pub mainline: Option<String>,
}Fields§
§unit: StringUnit ID, e.g. U-012
holder: StringLease holder identity
lease_minutes: i64Lease length in minutes
sdd: Option<String>SDD root, as a path from where the verb runs (the primary checkout or any worktree of it); default: the one SDD in the repository
mainline: Option<String>Mainline branch the lease commit is published to (default: config mainline, else origin/HEAD, else the primary checkout’s branch)
Trait Implementations§
Source§impl Args for ClaimArgs
impl Args for ClaimArgs
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 FromArgMatches for ClaimArgs
impl FromArgMatches for ClaimArgs
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 Forget for ClaimArgs
impl Freeze for ClaimArgs
impl Move for ClaimArgs
impl RefUnwindSafe for ClaimArgs
impl Send for ClaimArgs
impl Sync for ClaimArgs
impl Unpin for ClaimArgs
impl UnsafeUnpin for ClaimArgs
impl UnwindSafe for ClaimArgs
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