pub struct PolicyNetworkConfig {
pub ssid: String,
pub security_type: Option<SecurityTypeArg>,
pub credential_type: Option<CredentialTypeArg>,
pub credential: Option<String>,
}Fields§
§ssid: String§security_type: Option<SecurityTypeArg>§credential_type: Option<CredentialTypeArg>§credential: Option<String>Trait Implementations§
Source§impl Args for PolicyNetworkConfig
impl Args for PolicyNetworkConfig
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 Clone for PolicyNetworkConfig
impl Clone for PolicyNetworkConfig
Source§fn clone(&self) -> PolicyNetworkConfig
fn clone(&self) -> PolicyNetworkConfig
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 PolicyNetworkConfig
impl Debug for PolicyNetworkConfig
Source§impl From<PolicyNetworkConfig> for NetworkConfig
impl From<PolicyNetworkConfig> for NetworkConfig
Source§fn from(arg: PolicyNetworkConfig) -> Self
fn from(arg: PolicyNetworkConfig) -> Self
Converts to this type from the input type.
Source§impl FromArgMatches for PolicyNetworkConfig
impl FromArgMatches for PolicyNetworkConfig
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 PolicyNetworkConfig
impl RefUnwindSafe for PolicyNetworkConfig
impl Send for PolicyNetworkConfig
impl Sync for PolicyNetworkConfig
impl Unpin for PolicyNetworkConfig
impl UnwindSafe for PolicyNetworkConfig
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