pub struct SnapshotBundle {
pub schema_version: u32,
pub snapshots: Vec<EvalSnapshot>,
pub exported_at_ms: i64,
}Expand description
Portable bundle used to move builtin snapshots between Infra deployments. Import is an idempotent replay keyed on the digest.
Fields§
§schema_version: u32§snapshots: Vec<EvalSnapshot>§exported_at_ms: i64Trait Implementations§
Source§impl Clone for SnapshotBundle
impl Clone for SnapshotBundle
Source§fn clone(&self) -> SnapshotBundle
fn clone(&self) -> SnapshotBundle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SnapshotBundle
impl Debug for SnapshotBundle
Source§impl<'de> Deserialize<'de> for SnapshotBundle
impl<'de> Deserialize<'de> for SnapshotBundle
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
Source§impl PartialEq for SnapshotBundle
impl PartialEq for SnapshotBundle
Source§impl Serialize for SnapshotBundle
impl Serialize for SnapshotBundle
impl StructuralPartialEq for SnapshotBundle
Auto Trait Implementations§
impl Freeze for SnapshotBundle
impl RefUnwindSafe for SnapshotBundle
impl Send for SnapshotBundle
impl Sync for SnapshotBundle
impl Unpin for SnapshotBundle
impl UnsafeUnpin for SnapshotBundle
impl UnwindSafe for SnapshotBundle
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