pub struct RecordPayload {
pub message: String,
pub level: LogLevel,
}Expand description
Payload for a log record, used when emitting events to the webview.
Fields§
§message: StringThe formatted log message.
level: LogLevelThe severity level of the log.
Trait Implementations§
Source§impl Clone for RecordPayload
impl Clone for RecordPayload
Source§fn clone(&self) -> RecordPayload
fn clone(&self) -> RecordPayload
Returns a duplicate of the value. Read more
1.0.0 · 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 RecordPayload
impl Debug for RecordPayload
Auto Trait Implementations§
impl Freeze for RecordPayload
impl RefUnwindSafe for RecordPayload
impl Send for RecordPayload
impl Sync for RecordPayload
impl Unpin for RecordPayload
impl UnwindSafe for RecordPayload
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