pub struct OverrideEndpointOpts {
pub endpoint: Option<Endpoint>,
pub unset: bool,
pub yes: bool,
}Fields§
§endpoint: Option<Endpoint>The external endpoint that you’d like the innernet server to broadcast to other peers. The IP address may be unspecified (all zeros), in which case the server will try to resolve it based on its most recent connection. The port will still be used, even if you decide to use an unspecified IP address.
unset: boolUnset an existing override to use the automatic endpoint discovery
yes: boolBypass confirmation
Trait Implementations§
Source§impl Args for OverrideEndpointOpts
impl Args for OverrideEndpointOpts
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 OverrideEndpointOpts
impl Clone for OverrideEndpointOpts
Source§fn clone(&self) -> OverrideEndpointOpts
fn clone(&self) -> OverrideEndpointOpts
Returns a duplicate of the value. Read more
1.0.0 · 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 OverrideEndpointOpts
impl Debug for OverrideEndpointOpts
Source§impl FromArgMatches for OverrideEndpointOpts
impl FromArgMatches for OverrideEndpointOpts
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 OverrideEndpointOpts
impl PartialEq for OverrideEndpointOpts
impl Eq for OverrideEndpointOpts
impl StructuralPartialEq for OverrideEndpointOpts
Auto Trait Implementations§
impl Freeze for OverrideEndpointOpts
impl RefUnwindSafe for OverrideEndpointOpts
impl Send for OverrideEndpointOpts
impl Sync for OverrideEndpointOpts
impl Unpin for OverrideEndpointOpts
impl UnwindSafe for OverrideEndpointOpts
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.