Struct feattle_core::persist::ValueHistory
source · pub struct ValueHistory {
pub entries: Vec<HistoryEntry>,
}
Expand description
Store the history of modification of a single feattle
Fields§
§entries: Vec<HistoryEntry>
The entries are not necessarily stored in any specific order
Trait Implementations§
source§impl Clone for ValueHistory
impl Clone for ValueHistory
source§fn clone(&self) -> ValueHistory
fn clone(&self) -> ValueHistory
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 ValueHistory
impl Debug for ValueHistory
source§impl Default for ValueHistory
impl Default for ValueHistory
source§fn default() -> ValueHistory
fn default() -> ValueHistory
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ValueHistory
impl<'de> Deserialize<'de> for ValueHistory
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<ValueHistory> for ValueHistory
impl PartialEq<ValueHistory> for ValueHistory
source§fn eq(&self, other: &ValueHistory) -> bool
fn eq(&self, other: &ValueHistory) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ValueHistory
impl Serialize for ValueHistory
impl Eq for ValueHistory
impl StructuralEq for ValueHistory
impl StructuralPartialEq for ValueHistory
Auto Trait Implementations§
impl RefUnwindSafe for ValueHistory
impl Send for ValueHistory
impl Sync for ValueHistory
impl Unpin for ValueHistory
impl UnwindSafe for ValueHistory
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