pub struct CheckpointSpec {
pub mode: CheckpointMode,
pub paths: Vec<Utf8PathBuf>,
pub command: Option<String>,
pub into_tracker: Option<String>,
pub state_ref: Option<String>,
}Expand description
How a resource captures branch-local state at checkpoint time.
Fields§
§mode: CheckpointMode§paths: Vec<Utf8PathBuf>hash: identity files whose content hash is the captured state.
command: Option<String>command: emits the state; trimmed stdout becomes the state ref.
into_tracker: Option<String>command: deposit {{snapshot.path}} into this tracker’s lane.
state_ref: Option<String>external: template for the opaque ref (may use {{exports.<name>}}).
Trait Implementations§
Source§impl Clone for CheckpointSpec
impl Clone for CheckpointSpec
Source§fn clone(&self) -> CheckpointSpec
fn clone(&self) -> CheckpointSpec
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 CheckpointSpec
impl Debug for CheckpointSpec
Source§impl<'de> Deserialize<'de> for CheckpointSpec
impl<'de> Deserialize<'de> for CheckpointSpec
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 CheckpointSpec
Source§impl PartialEq for CheckpointSpec
impl PartialEq for CheckpointSpec
impl StructuralPartialEq for CheckpointSpec
Auto Trait Implementations§
impl Freeze for CheckpointSpec
impl RefUnwindSafe for CheckpointSpec
impl Send for CheckpointSpec
impl Sync for CheckpointSpec
impl Unpin for CheckpointSpec
impl UnsafeUnpin for CheckpointSpec
impl UnwindSafe for CheckpointSpec
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