Struct feattle_core::persist::CurrentValues
source · [−]pub struct CurrentValues {
pub version: i32,
pub date: DateTime<Utc>,
pub feattles: BTreeMap<String, CurrentValue>,
}Expand description
Store the current values of all feattles
Fields
version: i32A monotonically increasing version, that can be used to detect race conditions
date: DateTime<Utc>When this version was created
feattles: BTreeMap<String, CurrentValue>Data for each feattle. Some feattles may not be present in this map, since they were never modified. Also, some extra feattles may be present in this map because they were used in a previous invocation of feattles.
Trait Implementations
sourceimpl Clone for CurrentValues
impl Clone for CurrentValues
sourcefn clone(&self) -> CurrentValues
fn clone(&self) -> CurrentValues
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CurrentValues
impl Debug for CurrentValues
sourceimpl<'de> Deserialize<'de> for CurrentValues
impl<'de> Deserialize<'de> for CurrentValues
sourcefn 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
sourceimpl PartialEq<CurrentValues> for CurrentValues
impl PartialEq<CurrentValues> for CurrentValues
sourcefn eq(&self, other: &CurrentValues) -> bool
fn eq(&self, other: &CurrentValues) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CurrentValues) -> bool
fn ne(&self, other: &CurrentValues) -> bool
This method tests for !=.
sourceimpl Serialize for CurrentValues
impl Serialize for CurrentValues
impl Eq for CurrentValues
impl StructuralEq for CurrentValues
impl StructuralPartialEq for CurrentValues
Auto Trait Implementations
impl RefUnwindSafe for CurrentValues
impl Send for CurrentValues
impl Sync for CurrentValues
impl Unpin for CurrentValues
impl UnwindSafe for CurrentValues
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more