pub struct OverridePeerEndpointOpts {
pub name: Option<Hostname>,
pub endpoint: Option<Endpoint>,
pub unset: bool,
pub yes: bool,
}Fields§
§name: Option<Hostname>Name of peer whose endpoint you want to override
endpoint: Option<Endpoint>The external endpoint that you’d like to use for a given peer
unset: boolUnset an existing local endpoint override for this peer
yes: boolBypass confirmation
Trait Implementations§
Source§impl Args for OverridePeerEndpointOpts
impl Args for OverridePeerEndpointOpts
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 Clone for OverridePeerEndpointOpts
impl Clone for OverridePeerEndpointOpts
Source§fn clone(&self) -> OverridePeerEndpointOpts
fn clone(&self) -> OverridePeerEndpointOpts
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OverridePeerEndpointOpts
impl Debug for OverridePeerEndpointOpts
impl Eq for OverridePeerEndpointOpts
Source§impl FromArgMatches for OverridePeerEndpointOpts
impl FromArgMatches for OverridePeerEndpointOpts
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.Source§impl PartialEq for OverridePeerEndpointOpts
impl PartialEq for OverridePeerEndpointOpts
Source§fn eq(&self, other: &OverridePeerEndpointOpts) -> bool
fn eq(&self, other: &OverridePeerEndpointOpts) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OverridePeerEndpointOpts
Auto Trait Implementations§
impl Freeze for OverridePeerEndpointOpts
impl RefUnwindSafe for OverridePeerEndpointOpts
impl Send for OverridePeerEndpointOpts
impl Sync for OverridePeerEndpointOpts
impl Unpin for OverridePeerEndpointOpts
impl UnsafeUnpin for OverridePeerEndpointOpts
impl UnwindSafe for OverridePeerEndpointOpts
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.