pub struct StateAtom {
pub id: StateId,
pub state_type: StateType,
pub authority: AuthoritySet,
pub version: VersionVector,
pub delta_law: DeltaLaw,
pub bounds: StateBounds,
pub entropy: EntropyModel,
pub last_modified: StateTime,
pub value: Vec<u8>,
}Expand description
State atom - the fundamental unit of reality
Fields§
§id: StateIdUnique identifier
state_type: StateTypeState type classification
Authority set
version: VersionVectorVersion vector for causal ordering
delta_law: DeltaLawDelta law for merging
bounds: StateBoundsBounds and constraints
entropy: EntropyModelEntropy/uncertainty model
last_modified: StateTimeLast modification time
value: Vec<u8>The actual value (opaque bytes for now)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateAtom
impl RefUnwindSafe for StateAtom
impl Send for StateAtom
impl Sync for StateAtom
impl Unpin for StateAtom
impl UnwindSafe for StateAtom
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