pub struct StateRecord {
pub namespace: Namespace,
pub agent_id: AgentId,
pub key: Key,
pub value: Option<Value>,
pub version: Version,
pub commit_ts: CommitTs,
pub deleted: bool,
}Expand description
State record stored in the database
Fields§
§namespace: Namespace§agent_id: AgentId§key: Key§value: Option<Value>§version: Version§commit_ts: CommitTs§deleted: boolTrait Implementations§
Source§impl Clone for StateRecord
impl Clone for StateRecord
Source§fn clone(&self) -> StateRecord
fn clone(&self) -> StateRecord
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 StateRecord
impl Debug for StateRecord
Source§impl<'de> Deserialize<'de> for StateRecord
impl<'de> Deserialize<'de> for StateRecord
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 StateRecord
impl RefUnwindSafe for StateRecord
impl Send for StateRecord
impl Sync for StateRecord
impl Unpin for StateRecord
impl UnwindSafe for StateRecord
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