pub struct JournalEntryKind {
pub value: Option<Value>,
pub label: Option<Label>,
}Fields§
§value: Option<Value>info- Info *success- Success *warning- Warning *danger- Danger
label: Option<Label>Implementations§
Source§impl JournalEntryKind
impl JournalEntryKind
pub fn new() -> JournalEntryKind
Trait Implementations§
Source§impl Clone for JournalEntryKind
impl Clone for JournalEntryKind
Source§fn clone(&self) -> JournalEntryKind
fn clone(&self) -> JournalEntryKind
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 JournalEntryKind
impl Debug for JournalEntryKind
Source§impl Default for JournalEntryKind
impl Default for JournalEntryKind
Source§fn default() -> JournalEntryKind
fn default() -> JournalEntryKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JournalEntryKind
impl<'de> Deserialize<'de> for JournalEntryKind
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
Source§impl PartialEq for JournalEntryKind
impl PartialEq for JournalEntryKind
Source§impl Serialize for JournalEntryKind
impl Serialize for JournalEntryKind
impl StructuralPartialEq for JournalEntryKind
Auto Trait Implementations§
impl Freeze for JournalEntryKind
impl RefUnwindSafe for JournalEntryKind
impl Send for JournalEntryKind
impl Sync for JournalEntryKind
impl Unpin for JournalEntryKind
impl UnwindSafe for JournalEntryKind
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