pub struct GprsModemSetupAttrs {
pub logical_name: LogicalName,
pub apn: Vec<u8>,
pub pin_code: Vec<u8>,
pub username: Vec<u8>,
pub password: Vec<u8>,
pub ask_for_password: bool,
pub ip_address: [u8; 4],
pub ip_port: u16,
pub transfer_services: Vec<u8>,
pub default_transfers: Vec<u8>,
pub gprs_timeout: u16,
}Expand description
GPRS modem setup class (class_id = 45) attributes.
- attr 1: logical_name (octet-string)
- attr 2: apn (visible-string)
- attr 3: pin_code (visible-string)
- attr 4: username (visible-string)
- attr 5: password (visible-string)
- attr 6: ask_for_password (boolean)
- attr 7: ip_address (octet-string, 4 bytes)
- attr 8: ip_port (long-unsigned)
- attr 9: transfer_services (bit-string)
- attr 10: default_transfers (octet-string)
- attr 11: gprs_timeout (long-unsigned)
Fields§
§logical_name: LogicalNameOBIS logical name (attribute 1).
apn: Vec<u8>Access point name (attribute 2).
pin_code: Vec<u8>PIN code (attribute 3).
username: Vec<u8>Username (attribute 4).
password: Vec<u8>Password (attribute 5).
ask_for_password: boolAsk for password flag (attribute 6).
ip_address: [u8; 4]IP address, 4 bytes (attribute 7).
ip_port: u16IP port number (attribute 8).
transfer_services: Vec<u8>Transfer services (attribute 9).
default_transfers: Vec<u8>Default transfers (attribute 10).
gprs_timeout: u16GPRS timeout in seconds (attribute 11).
Trait Implementations§
Source§impl Clone for GprsModemSetupAttrs
impl Clone for GprsModemSetupAttrs
Source§fn clone(&self) -> GprsModemSetupAttrs
fn clone(&self) -> GprsModemSetupAttrs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GprsModemSetupAttrs
impl Debug for GprsModemSetupAttrs
Source§impl<'de> Deserialize<'de> for GprsModemSetupAttrs
impl<'de> Deserialize<'de> for GprsModemSetupAttrs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GprsModemSetupAttrs
impl RefUnwindSafe for GprsModemSetupAttrs
impl Send for GprsModemSetupAttrs
impl Sync for GprsModemSetupAttrs
impl Unpin for GprsModemSetupAttrs
impl UnsafeUnpin for GprsModemSetupAttrs
impl UnwindSafe for GprsModemSetupAttrs
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