pub struct GitSnapshotStageLocatorV1 {
pub schema_version: u32,
pub operation_id: String,
pub isolation_root_identity: String,
pub snapshots_store_identity: String,
pub stage_directory_identity: String,
pub metadata_file_identity: String,
}Expand description
Path-free durable authority for reopening one exact completed stage.
Fields§
§schema_version: u32Locator schema version; currently 1.
operation_id: StringExact operation identifier used to derive the stage path.
isolation_root_identity: StringFilesystem identity of the private Git isolation root.
snapshots_store_identity: StringFilesystem identity of the fixed snapshots store.
stage_directory_identity: StringFilesystem identity of this operation’s create-only stage directory.
metadata_file_identity: StringFilesystem identity of the create-only canonical stage.json record.
Implementations§
Source§impl GitSnapshotStageLocatorV1
impl GitSnapshotStageLocatorV1
Sourcepub fn validate_for_operation(
&self,
operation_id: &str,
) -> Result<(), GitSnapshotError>
pub fn validate_for_operation( &self, operation_id: &str, ) -> Result<(), GitSnapshotError>
Validate the path-free identities and exact operation binding.
§Errors
Returns a typed failure for any schema, operation, or identity mismatch.
Trait Implementations§
Source§impl Clone for GitSnapshotStageLocatorV1
impl Clone for GitSnapshotStageLocatorV1
Source§impl Debug for GitSnapshotStageLocatorV1
impl Debug for GitSnapshotStageLocatorV1
Source§impl<'de> Deserialize<'de> for GitSnapshotStageLocatorV1
impl<'de> Deserialize<'de> for GitSnapshotStageLocatorV1
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 GitSnapshotStageLocatorV1
impl StructuralPartialEq for GitSnapshotStageLocatorV1
Auto Trait Implementations§
impl Freeze for GitSnapshotStageLocatorV1
impl RefUnwindSafe for GitSnapshotStageLocatorV1
impl Send for GitSnapshotStageLocatorV1
impl Sync for GitSnapshotStageLocatorV1
impl Unpin for GitSnapshotStageLocatorV1
impl UnsafeUnpin for GitSnapshotStageLocatorV1
impl UnwindSafe for GitSnapshotStageLocatorV1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.