pub struct RuyiNetworkSettings {Show 14 fields
pub connection: Option<RuyiNetworkSettingNameValue>,
pub network_type: Option<RuyiNetworkSettingNameValue>,
pub quality: Option<RuyiNetworkSettingNameValue>,
pub s_s_i_d: Option<RuyiNetworkSettingNameValue>,
pub b_s_s_i_d: Option<RuyiNetworkSettingNameValue>,
pub authentication: Option<RuyiNetworkSettingNameValue>,
pub d_h_c_p_enabled: Option<RuyiNetworkSettingNameValue>,
pub ip_address: Option<RuyiNetworkSettingNameValue>,
pub sub_mask: Option<RuyiNetworkSettingNameValue>,
pub gateway: Option<RuyiNetworkSettingNameValue>,
pub main_d_n_s: Option<RuyiNetworkSettingNameValue>,
pub sub_d_n_s: Option<RuyiNetworkSettingNameValue>,
pub mac_address: Option<RuyiNetworkSettingNameValue>,
pub proxy: Option<RuyiNetworkSettingNameValue>,
}
Fields
connection: Option<RuyiNetworkSettingNameValue>
network_type: Option<RuyiNetworkSettingNameValue>
quality: Option<RuyiNetworkSettingNameValue>
s_s_i_d: Option<RuyiNetworkSettingNameValue>
b_s_s_i_d: Option<RuyiNetworkSettingNameValue>
authentication: Option<RuyiNetworkSettingNameValue>
d_h_c_p_enabled: Option<RuyiNetworkSettingNameValue>
ip_address: Option<RuyiNetworkSettingNameValue>
sub_mask: Option<RuyiNetworkSettingNameValue>
gateway: Option<RuyiNetworkSettingNameValue>
main_d_n_s: Option<RuyiNetworkSettingNameValue>
sub_d_n_s: Option<RuyiNetworkSettingNameValue>
mac_address: Option<RuyiNetworkSettingNameValue>
proxy: Option<RuyiNetworkSettingNameValue>
Implementations
sourceimpl RuyiNetworkSettings
impl RuyiNetworkSettings
pub fn new<F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14>(
connection: F1,
network_type: F2,
quality: F3,
s_s_i_d: F4,
b_s_s_i_d: F5,
authentication: F6,
d_h_c_p_enabled: F7,
ip_address: F8,
sub_mask: F9,
gateway: F10,
main_d_n_s: F11,
sub_d_n_s: F12,
mac_address: F13,
proxy: F14
) -> RuyiNetworkSettingswhere
F1: Into<Option<RuyiNetworkSettingNameValue>>,
F2: Into<Option<RuyiNetworkSettingNameValue>>,
F3: Into<Option<RuyiNetworkSettingNameValue>>,
F4: Into<Option<RuyiNetworkSettingNameValue>>,
F5: Into<Option<RuyiNetworkSettingNameValue>>,
F6: Into<Option<RuyiNetworkSettingNameValue>>,
F7: Into<Option<RuyiNetworkSettingNameValue>>,
F8: Into<Option<RuyiNetworkSettingNameValue>>,
F9: Into<Option<RuyiNetworkSettingNameValue>>,
F10: Into<Option<RuyiNetworkSettingNameValue>>,
F11: Into<Option<RuyiNetworkSettingNameValue>>,
F12: Into<Option<RuyiNetworkSettingNameValue>>,
F13: Into<Option<RuyiNetworkSettingNameValue>>,
F14: Into<Option<RuyiNetworkSettingNameValue>>,
pub fn read_from_in_protocol(
i_prot: &mut dyn TInputProtocol
) -> Result<RuyiNetworkSettings>
pub fn write_to_out_protocol(
&self,
o_prot: &mut dyn TOutputProtocol
) -> Result<()>
Trait Implementations
sourceimpl Clone for RuyiNetworkSettings
impl Clone for RuyiNetworkSettings
sourcefn clone(&self) -> RuyiNetworkSettings
fn clone(&self) -> RuyiNetworkSettings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RuyiNetworkSettings
impl Debug for RuyiNetworkSettings
sourceimpl Default for RuyiNetworkSettings
impl Default for RuyiNetworkSettings
sourceimpl Hash for RuyiNetworkSettings
impl Hash for RuyiNetworkSettings
sourceimpl Ord for RuyiNetworkSettings
impl Ord for RuyiNetworkSettings
sourcefn cmp(&self, other: &RuyiNetworkSettings) -> Ordering
fn cmp(&self, other: &RuyiNetworkSettings) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<RuyiNetworkSettings> for RuyiNetworkSettings
impl PartialEq<RuyiNetworkSettings> for RuyiNetworkSettings
sourcefn eq(&self, other: &RuyiNetworkSettings) -> bool
fn eq(&self, other: &RuyiNetworkSettings) -> bool
sourceimpl PartialOrd<RuyiNetworkSettings> for RuyiNetworkSettings
impl PartialOrd<RuyiNetworkSettings> for RuyiNetworkSettings
sourcefn partial_cmp(&self, other: &RuyiNetworkSettings) -> Option<Ordering>
fn partial_cmp(&self, other: &RuyiNetworkSettings) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RuyiNetworkSettings
impl StructuralEq for RuyiNetworkSettings
impl StructuralPartialEq for RuyiNetworkSettings
Auto Trait Implementations
impl RefUnwindSafe for RuyiNetworkSettings
impl Send for RuyiNetworkSettings
impl Sync for RuyiNetworkSettings
impl Unpin for RuyiNetworkSettings
impl UnwindSafe for RuyiNetworkSettings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more