pub struct ContainerSnapshot {
pub epoch: u64,
pub config: ContainerConfig,
pub graph_edges: Vec<(usize, usize, f64)>,
pub spectral_scs: f64,
pub evidence_accumulated: f64,
}Expand description
Serializable snapshot of the container state.
Fields§
§epoch: u64§config: ContainerConfig§graph_edges: Vec<(usize, usize, f64)>§spectral_scs: f64§evidence_accumulated: f64Trait Implementations§
Source§impl Clone for ContainerSnapshot
impl Clone for ContainerSnapshot
Source§fn clone(&self) -> ContainerSnapshot
fn clone(&self) -> ContainerSnapshot
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 ContainerSnapshot
impl Debug for ContainerSnapshot
Source§impl<'de> Deserialize<'de> for ContainerSnapshot
impl<'de> Deserialize<'de> for ContainerSnapshot
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 ContainerSnapshot
impl RefUnwindSafe for ContainerSnapshot
impl Send for ContainerSnapshot
impl Sync for ContainerSnapshot
impl Unpin for ContainerSnapshot
impl UnsafeUnpin for ContainerSnapshot
impl UnwindSafe for ContainerSnapshot
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