pub struct SnapshotInclude {
pub reference: SnapshotRef,
pub case_ids: Vec<String>,
pub case_id_prefix: Option<String>,
pub execution_override: Option<ExecutionSpec>,
}Expand description
Reference to another snapshot whose cases are copied into this version at registration time. Later releases of the referenced snapshot never change what was already frozen here.
Fields§
§reference: SnapshotRef§case_ids: Vec<String>Empty means every case of the referenced snapshot.
case_id_prefix: Option<String>Applied to imported case ids; the way to resolve an id collision.
execution_override: Option<ExecutionSpec>Swaps the execution spec of imported cases. Their content and evaluators stay untouched, otherwise cross-tenant comparability dies.
Trait Implementations§
Source§impl Clone for SnapshotInclude
impl Clone for SnapshotInclude
Source§fn clone(&self) -> SnapshotInclude
fn clone(&self) -> SnapshotInclude
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 SnapshotInclude
impl Debug for SnapshotInclude
Source§impl<'de> Deserialize<'de> for SnapshotInclude
impl<'de> Deserialize<'de> for SnapshotInclude
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
impl Eq for SnapshotInclude
Source§impl PartialEq for SnapshotInclude
impl PartialEq for SnapshotInclude
Source§impl Serialize for SnapshotInclude
impl Serialize for SnapshotInclude
impl StructuralPartialEq for SnapshotInclude
Auto Trait Implementations§
impl Freeze for SnapshotInclude
impl RefUnwindSafe for SnapshotInclude
impl Send for SnapshotInclude
impl Sync for SnapshotInclude
impl Unpin for SnapshotInclude
impl UnsafeUnpin for SnapshotInclude
impl UnwindSafe for SnapshotInclude
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