pub struct LogData {
pub gateway_name: String,
pub msg: String,
pub level: i32,
}Expand description
日志数据:GUI 日志面板/日志文件的载荷。
Fields§
§gateway_name: String上游网关名
msg: String日志正文
level: i32等级(缺省 LEVEL_INFO;Python level: int = INFO,object.py:292)
Implementations§
Trait Implementations§
impl StructuralPartialEq for LogData
Auto Trait Implementations§
impl Freeze for LogData
impl RefUnwindSafe for LogData
impl Send for LogData
impl Sync for LogData
impl Unpin for LogData
impl UnsafeUnpin for LogData
impl UnwindSafe for LogData
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