pub struct OwnershipActivateParams {
pub nonce: Option<u64>,
pub signature: Option<PathBuf>,
pub sign: Option<PathBuf>,
}
Fields§
§nonce: Option<u64>
§signature: Option<PathBuf>
§sign: Option<PathBuf>
Implementations§
Source§impl OwnershipActivateParams
impl OwnershipActivateParams
Sourcepub fn apply(&self, activate: &mut OwnershipActivateRequest) -> Result<()>
pub fn apply(&self, activate: &mut OwnershipActivateRequest) -> Result<()>
Applies the parameters to the activate request.
Trait Implementations§
Source§impl Args for OwnershipActivateParams
impl Args for OwnershipActivateParams
Source§fn group_id() -> Option<Id>
fn group_id() -> Option<Id>
Report the [
ArgGroup::id
][crate::ArgGroup::id] for this set of argumentsSource§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 OwnershipActivateParams
impl Debug for OwnershipActivateParams
Source§impl Default for OwnershipActivateParams
impl Default for OwnershipActivateParams
Source§fn default() -> OwnershipActivateParams
fn default() -> OwnershipActivateParams
Returns the “default value” for a type. Read more
Source§impl FromArgMatches for OwnershipActivateParams
impl FromArgMatches for OwnershipActivateParams
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 OwnershipActivateParams
impl RefUnwindSafe for OwnershipActivateParams
impl Send for OwnershipActivateParams
impl Sync for OwnershipActivateParams
impl Unpin for OwnershipActivateParams
impl UnwindSafe for OwnershipActivateParams
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