Struct tramex_tools::interface::types::WebSocketLog
source · pub struct WebSocketLog {
pub message: String,
pub message_id: Option<u64>,
pub time: f64,
pub utc: f64,
pub logs: Vec<OneLog>,
}
Expand description
LogGet struct
Fields§
§message: String
Same as request
message_id: Option<u64>
Any type, force as string // Same as in request.
time: f64
Number representing time in seconds since start of the process. // Useful to send command with absolute time.
utc: f64
Number representing UTC seconds.
logs: Vec<OneLog>
Logs vectors
Trait Implementations§
source§impl Debug for WebSocketLog
impl Debug for WebSocketLog
source§impl<'de> Deserialize<'de> for WebSocketLog
impl<'de> Deserialize<'de> for WebSocketLog
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 RefUnwindSafe for WebSocketLog
impl Send for WebSocketLog
impl Sync for WebSocketLog
impl Unpin for WebSocketLog
impl UnwindSafe for WebSocketLog
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