Struct feattle_core::persist::HistoryEntry
source · pub struct HistoryEntry {
pub value: Value,
pub value_overview: String,
pub modified_at: DateTime<Utc>,
pub modified_by: String,
}
Expand description
Store the value at a given point in time of a single feattle
Fields§
§value: Value
The value, expressed in JSON
value_overview: String
A human-readable description of the value
modified_at: DateTime<Utc>
When this modification was made
modified_by: String
Who did that modification
Trait Implementations§
source§impl Clone for HistoryEntry
impl Clone for HistoryEntry
source§fn clone(&self) -> HistoryEntry
fn clone(&self) -> HistoryEntry
Returns a copy 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 HistoryEntry
impl Debug for HistoryEntry
source§impl<'de> Deserialize<'de> for HistoryEntry
impl<'de> Deserialize<'de> for HistoryEntry
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<HistoryEntry> for HistoryEntry
impl PartialEq<HistoryEntry> for HistoryEntry
source§fn eq(&self, other: &HistoryEntry) -> bool
fn eq(&self, other: &HistoryEntry) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for HistoryEntry
impl Serialize for HistoryEntry
impl Eq for HistoryEntry
impl StructuralEq for HistoryEntry
impl StructuralPartialEq for HistoryEntry
Auto Trait Implementations§
impl RefUnwindSafe for HistoryEntry
impl Send for HistoryEntry
impl Sync for HistoryEntry
impl Unpin for HistoryEntry
impl UnwindSafe for HistoryEntry
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