pub struct JournalChange {
pub name: String,
pub old_value: Option<String>,
pub new_value: Option<String>,
pub property: ChangePropertyType,
}
Expand description
a changed attribute entry in a journal entry
Fields§
§name: String
name of the attribute
old_value: Option<String>
old value
new_value: Option<String>
new value
property: ChangePropertyType
what kind of property we are dealing with
Trait Implementations§
Source§impl Clone for JournalChange
impl Clone for JournalChange
Source§fn clone(&self) -> JournalChange
fn clone(&self) -> JournalChange
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 JournalChange
impl Debug for JournalChange
Source§impl<'de> Deserialize<'de> for JournalChange
impl<'de> Deserialize<'de> for JournalChange
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 JournalChange
impl RefUnwindSafe for JournalChange
impl Send for JournalChange
impl Sync for JournalChange
impl Unpin for JournalChange
impl UnwindSafe for JournalChange
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