pub struct ContextCheckpointFileV1 {
pub source_id: SourceId,
pub role: ContextCheckpointFileRoleV1,
pub content_digest: Sha256Digest,
}Expand description
One file in scope for the checkpointed work, identified without any path.
Fields§
§source_id: SourceIdOpaque workspace-scoped source identity; never a filesystem path.
role: ContextCheckpointFileRoleV1Role the file plays in the work.
content_digest: Sha256DigestContent identity of the file at checkpoint time.
Implementations§
Source§impl ContextCheckpointFileV1
impl ContextCheckpointFileV1
Sourcepub fn validate(&self) -> Result<(), ValidationError>
pub fn validate(&self) -> Result<(), ValidationError>
Validate that the file entry carries no machine-local material.
Trait Implementations§
Source§impl Clone for ContextCheckpointFileV1
impl Clone for ContextCheckpointFileV1
Source§impl Debug for ContextCheckpointFileV1
impl Debug for ContextCheckpointFileV1
Source§impl<'de> Deserialize<'de> for ContextCheckpointFileV1
impl<'de> Deserialize<'de> for ContextCheckpointFileV1
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 ContextCheckpointFileV1
Source§impl PartialEq for ContextCheckpointFileV1
impl PartialEq for ContextCheckpointFileV1
Source§impl Serialize for ContextCheckpointFileV1
impl Serialize for ContextCheckpointFileV1
impl StructuralPartialEq for ContextCheckpointFileV1
Auto Trait Implementations§
impl Freeze for ContextCheckpointFileV1
impl RefUnwindSafe for ContextCheckpointFileV1
impl Send for ContextCheckpointFileV1
impl Sync for ContextCheckpointFileV1
impl Unpin for ContextCheckpointFileV1
impl UnsafeUnpin for ContextCheckpointFileV1
impl UnwindSafe for ContextCheckpointFileV1
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