Struct feattle::persist::CurrentValues
source · pub struct CurrentValues {
pub version: i32,
pub date: DateTime<Utc>,
pub feattles: BTreeMap<String, CurrentValue, Global>,
}
Expand description
Store the current values of all feattles
Fields§
§version: i32
A monotonically increasing version, that can be used to detect race conditions
date: DateTime<Utc>
When this version was created
feattles: BTreeMap<String, CurrentValue, Global>
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§
source§impl Clone for CurrentValues
impl Clone for CurrentValues
source§fn clone(&self) -> CurrentValues
fn clone(&self) -> CurrentValues
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 CurrentValues
impl Debug for CurrentValues
source§impl<'de> Deserialize<'de> for CurrentValues
impl<'de> Deserialize<'de> for CurrentValues
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<CurrentValues, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<CurrentValues, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<CurrentValues> for CurrentValues
impl PartialEq<CurrentValues> for CurrentValues
source§fn 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 ==
.source§impl Serialize for CurrentValues
impl Serialize for CurrentValues
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
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§
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