#[repr(C)]
pub struct RASENTRYA {
Show 61 fields pub dwSize: u32, pub dwfOptions: u32, pub dwCountryID: u32, pub dwCountryCode: u32, pub szAreaCode: [u8; 11], pub szLocalPhoneNumber: [u8; 129], pub dwAlternateOffset: u32, pub ipaddr: RASIPADDR, pub ipaddrDns: RASIPADDR, pub ipaddrDnsAlt: RASIPADDR, pub ipaddrWins: RASIPADDR, pub ipaddrWinsAlt: RASIPADDR, pub dwFrameSize: u32, pub dwfNetProtocols: u32, pub dwFramingProtocol: u32, pub szScript: [u8; 260], pub szAutodialDll: [u8; 260], pub szAutodialFunc: [u8; 260], pub szDeviceType: [u8; 17], pub szDeviceName: [u8; 129], pub szX25PadType: [u8; 33], pub szX25Address: [u8; 201], pub szX25Facilities: [u8; 201], pub szX25UserData: [u8; 201], pub dwChannels: u32, pub dwReserved1: u32, pub dwReserved2: u32, pub dwSubEntries: u32, pub dwDialMode: RASENTRY_DIAL_MODE, pub dwDialExtraPercent: u32, pub dwDialExtraSampleSeconds: u32, pub dwHangUpExtraPercent: u32, pub dwHangUpExtraSampleSeconds: u32, pub dwIdleDisconnectSeconds: u32, pub dwType: u32, pub dwEncryptionType: u32, pub dwCustomAuthKey: u32, pub guidId: GUID, pub szCustomDialDll: [u8; 260], pub dwVpnStrategy: u32, pub dwfOptions2: u32, pub dwfOptions3: u32, pub szDnsSuffix: [u8; 256], pub dwTcpWindowSize: u32, pub szPrerequisitePbk: [u8; 260], pub szPrerequisiteEntry: [u8; 257], pub dwRedialCount: u32, pub dwRedialPause: u32, pub ipv6addrDns: IN6_ADDR, pub ipv6addrDnsAlt: IN6_ADDR, pub dwIPv4InterfaceMetric: u32, pub dwIPv6InterfaceMetric: u32, pub ipv6addr: IN6_ADDR, pub dwIPv6PrefixLength: u32, pub dwNetworkOutageTime: u32, pub szIDi: [u8; 257], pub szIDr: [u8; 257], pub fIsImsConfig: BOOL, pub IdiType: IKEV2_ID_PAYLOAD_TYPE, pub IdrType: IKEV2_ID_PAYLOAD_TYPE, pub fDisableIKEv2Fragmentation: BOOL,
}
Expand description

Required features: "Win32_Foundation", "Win32_Networking_WinSock"

Fields§

§dwSize: u32§dwfOptions: u32§dwCountryID: u32§dwCountryCode: u32§szAreaCode: [u8; 11]§szLocalPhoneNumber: [u8; 129]§dwAlternateOffset: u32§ipaddr: RASIPADDR§ipaddrDns: RASIPADDR§ipaddrDnsAlt: RASIPADDR§ipaddrWins: RASIPADDR§ipaddrWinsAlt: RASIPADDR§dwFrameSize: u32§dwfNetProtocols: u32§dwFramingProtocol: u32§szScript: [u8; 260]§szAutodialDll: [u8; 260]§szAutodialFunc: [u8; 260]§szDeviceType: [u8; 17]§szDeviceName: [u8; 129]§szX25PadType: [u8; 33]§szX25Address: [u8; 201]§szX25Facilities: [u8; 201]§szX25UserData: [u8; 201]§dwChannels: u32§dwReserved1: u32§dwReserved2: u32§dwSubEntries: u32§dwDialMode: RASENTRY_DIAL_MODE§dwDialExtraPercent: u32§dwDialExtraSampleSeconds: u32§dwHangUpExtraPercent: u32§dwHangUpExtraSampleSeconds: u32§dwIdleDisconnectSeconds: u32§dwType: u32§dwEncryptionType: u32§dwCustomAuthKey: u32§guidId: GUID§szCustomDialDll: [u8; 260]§dwVpnStrategy: u32§dwfOptions2: u32§dwfOptions3: u32§szDnsSuffix: [u8; 256]§dwTcpWindowSize: u32§szPrerequisitePbk: [u8; 260]§szPrerequisiteEntry: [u8; 257]§dwRedialCount: u32§dwRedialPause: u32§ipv6addrDns: IN6_ADDR§ipv6addrDnsAlt: IN6_ADDR§dwIPv4InterfaceMetric: u32§dwIPv6InterfaceMetric: u32§ipv6addr: IN6_ADDR§dwIPv6PrefixLength: u32§dwNetworkOutageTime: u32§szIDi: [u8; 257]§szIDr: [u8; 257]§fIsImsConfig: BOOL§IdiType: IKEV2_ID_PAYLOAD_TYPE§IdrType: IKEV2_ID_PAYLOAD_TYPE§fDisableIKEv2Fragmentation: BOOL

Trait Implementations§

§

impl Clone for RASENTRYA

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for RASENTRYA

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.