pub struct RegisterArgs {
pub session: Option<String>,
pub session_id: Option<String>,
pub family: Option<String>,
pub realm: Option<String>,
pub json: bool,
}Fields§
§session: Option<String>Harness session ID; falls back to AGENT_ID_SESSION_ID
session_id: Option<String>Explicit harness session ID
family: Option<String>Prefer this family name when allocating the identity
realm: Option<String>Computer realm; falls back to AGENT_REALM or config
json: boolPrint the complete assignment as JSON
Implementations§
Source§impl RegisterArgs
impl RegisterArgs
pub fn explicit_session(&self) -> Option<&str>
Trait Implementations§
Source§impl Args for RegisterArgs
impl Args for RegisterArgs
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 RegisterArgs
impl Debug for RegisterArgs
Source§impl FromArgMatches for RegisterArgs
impl FromArgMatches for RegisterArgs
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 RegisterArgs
impl RefUnwindSafe for RegisterArgs
impl Send for RegisterArgs
impl Sync for RegisterArgs
impl Unpin for RegisterArgs
impl UnsafeUnpin for RegisterArgs
impl UnwindSafe for RegisterArgs
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