pub struct GsmDiagnosticConfig {
pub logical_name: ObisCode,
pub version: u8,
pub operator: Vec<u8>,
pub status: u8,
pub cs_attachment: u8,
pub ps_status: u8,
pub cell_info: CellInfo,
pub adjacent_cells: Vec<GsmAdjacentCell>,
pub capture_time: DateTime,
}Expand description
Configuration structure used to build a GsmDiagnostic object.
Fields§
§logical_name: ObisCodeAttribute 1: the object’s logical name (OBIS code).
version: u8Class version: 0, 1 or 2 (same attribute set; later versions extend the
internal cell_info structure).
operator: Vec<u8>Attribute 2: name of the current network operator (visible-string).
status: u8Attribute 3: modem registration status (enum).
cs_attachment: u8Attribute 4: circuit-switched attachment status (enum).
ps_status: u8Attribute 5: packet-switched status (enum).
cell_info: CellInfoAttribute 6: serving cell_info structure.
adjacent_cells: Vec<GsmAdjacentCell>Attribute 7: array of adjacent cell structures.
capture_time: DateTimeAttribute 8: capture time of the diagnostic values (date-time).
Trait Implementations§
Source§impl Clone for GsmDiagnosticConfig
impl Clone for GsmDiagnosticConfig
Source§fn clone(&self) -> GsmDiagnosticConfig
fn clone(&self) -> GsmDiagnosticConfig
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 GsmDiagnosticConfig
impl Debug for GsmDiagnosticConfig
Source§impl<'de> Deserialize<'de> for GsmDiagnosticConfig
impl<'de> Deserialize<'de> for GsmDiagnosticConfig
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 GsmDiagnosticConfig
impl RefUnwindSafe for GsmDiagnosticConfig
impl Send for GsmDiagnosticConfig
impl Sync for GsmDiagnosticConfig
impl Unpin for GsmDiagnosticConfig
impl UnsafeUnpin for GsmDiagnosticConfig
impl UnwindSafe for GsmDiagnosticConfig
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