pub struct OntInfo {Show 25 fields
pub fsp: Fsp,
pub id: u32,
pub control_flag: String,
pub run_state: String,
pub config_state: String,
pub match_state: String,
pub dba_type: String,
pub distance: u32,
pub last_distance: u32,
pub memory_occupation: String,
pub cpu_occupation: String,
pub temperature: i32,
pub authentic_type: String,
pub sn: String,
pub sn_readable: String,
pub management_mode: String,
pub description: String,
pub last_down_cause: String,
pub last_up_time: String,
pub last_down_time: String,
pub online_duration: String,
pub line_profile_id: u32,
pub line_profile_name: String,
pub service_profile_id: u32,
pub service_profile_name: String,
}Fields§
§fsp: FspFrame/Slot/Port
id: u32§control_flag: String§run_state: String§config_state: String§match_state: String§dba_type: String§distance: u32ONT distance in meters
last_distance: u32ONT last distance in meters
memory_occupation: StringMemory occupation percentage
cpu_occupation: StringCPU occupation percentage
temperature: i32Temperature in Celsius
authentic_type: String§sn: StringSerial number (raw)
sn_readable: StringSerial number (human-readable)
management_mode: String§description: String§last_down_cause: String§last_up_time: String§last_down_time: String§online_duration: String§line_profile_id: u32§line_profile_name: String§service_profile_id: u32§service_profile_name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for OntInfo
impl<'de> Deserialize<'de> for OntInfo
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 OntInfo
impl RefUnwindSafe for OntInfo
impl Send for OntInfo
impl Sync for OntInfo
impl Unpin for OntInfo
impl UnwindSafe for OntInfo
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