pub struct UiNotificationMessage {
pub level: Option<String>,
pub message: String,
pub data: Option<Value>,
}Expand description
UI notification message types
Fields§
§level: Option<String>Log level (info, warn, error, debug)
message: StringLog message
data: Option<Value>Additional data
Trait Implementations§
Source§impl Clone for UiNotificationMessage
impl Clone for UiNotificationMessage
Source§fn clone(&self) -> UiNotificationMessage
fn clone(&self) -> UiNotificationMessage
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 UiNotificationMessage
impl Debug for UiNotificationMessage
Source§impl<'de> Deserialize<'de> for UiNotificationMessage
impl<'de> Deserialize<'de> for UiNotificationMessage
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 UiNotificationMessage
impl RefUnwindSafe for UiNotificationMessage
impl Send for UiNotificationMessage
impl Sync for UiNotificationMessage
impl Unpin for UiNotificationMessage
impl UnwindSafe for UiNotificationMessage
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