pub struct Snapshot {
pub id: String,
pub graph: SourceCodeGraph,
pub vibes: Vec<Vibe>,
pub cell_states: Vec<CellState>,
pub constitution: Constitution,
pub created_at: SystemTime,
}Expand description
Represents a snapshot of the entire system ready to be fossilized in Git.
Fields§
§id: StringIdentifier suitable for referencing the snapshot in storage.
graph: SourceCodeGraphCaptured graph at the time of snapshot.
vibes: Vec<Vibe>All vibes considered part of the snapshot.
cell_states: Vec<CellState>Cell states for the automaton corresponding to the snapshot.
constitution: ConstitutionConstitution in effect when the snapshot was created.
created_at: SystemTimeTimestamp for when the snapshot was recorded.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Snapshot
impl<'de> Deserialize<'de> for Snapshot
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 Snapshot
impl RefUnwindSafe for Snapshot
impl Send for Snapshot
impl Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
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