Struct DataCallConfigBuilder
pub struct DataCallConfigBuilder<'a> {
inner: Box<CallConfigInfo>,
apn: Option<&'a str>,
username: Option<&'a str>,
password: Option<&'a str>,
}👎Deprecated:
use ql-wds
Fields§
§inner: Box<CallConfigInfo>👎Deprecated:
§use ql-wds
apn: Option<&'a str>👎Deprecated:
§use ql-wds
username: Option<&'a str>👎Deprecated:
§use ql-wds
password: Option<&'a str>👎Deprecated:
use ql-wds
Implementations§
§impl<'a> DataCallConfigBuilder<'a>
impl<'a> DataCallConfigBuilder<'a>
fn new() -> Self
👎Deprecated:
use ql-wds
pub fn build(&self) -> Result<DataCallConfig>
👎Deprecated:
use ql-wds
fn ip_family(&mut self, ip_family: IpFamily) -> &mut Self
👎Deprecated:
use ql-wds
pub fn ipv4(&mut self) -> &mut Self
👎Deprecated:
use ql-wds
pub fn profile(&mut self, profile: i8) -> &mut Self
👎Deprecated: use ql-wds
pub fn profile(&mut self, profile: i8) -> &mut Self
use ql-wds
Sets the profile for both CDMA and UMTS.
If not explicitly set, the default value is 0.
fn technology_preference(&mut self, preference: TechPref) -> &mut Self
👎Deprecated:
use ql-wds
pub fn auto(&mut self) -> &mut Self
👎Deprecated:
use ql-wds
pub fn apn(&mut self, apn: &'a str) -> &mut Self
👎Deprecated:
use ql-wds
pub fn username(&mut self, username: &'a str) -> &mut Self
👎Deprecated:
use ql-wds
pub fn password(&mut self, password: &'a str) -> &mut Self
👎Deprecated:
use ql-wds
Auto Trait Implementations§
impl<'a> Freeze for DataCallConfigBuilder<'a>
impl<'a> RefUnwindSafe for DataCallConfigBuilder<'a>
impl<'a> Send for DataCallConfigBuilder<'a>
impl<'a> Sync for DataCallConfigBuilder<'a>
impl<'a> Unpin for DataCallConfigBuilder<'a>
impl<'a> UnsafeUnpin for DataCallConfigBuilder<'a>
impl<'a> UnwindSafe for DataCallConfigBuilder<'a>
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