pub struct Reading {
pub channel: Channel,
pub stats: Option<WindowStats>,
}Expand description
一路输入的读数(AT+READ、AT+STAT?)。
Fields§
§channel: Channel输入。
stats: Option<WindowStats>统计量;数据面没有数据时为 None。
Trait Implementations§
impl Copy for Reading
impl StructuralPartialEq for Reading
Auto Trait Implementations§
impl Freeze for Reading
impl RefUnwindSafe for Reading
impl Send for Reading
impl Sync for Reading
impl Unpin for Reading
impl UnwindSafe for Reading
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