pub struct ImportedEdges {
pub schema_version: u64,
pub mapped_repo: String,
pub provenance: Provenance,
pub edges: Vec<ImportRecord>,
}Expand description
The validated artifact import-edges writes and impact reads.
Carries the repo id the operator declared as “this repo” at import time,
the export’s provenance, and every accepted record. A re-import always
overwrites this file wholesale – there is no merge, so an edge the
newest export no longer states is simply gone from the next impact,
whether or not the provenance id changed.
Fields§
§schema_version: u64This artifact’s own schema version (distinct from the export’s own
schemaVersion, already checked and not re-stored).
mapped_repo: StringThe repo id from --repo <id> that names “this repo” inside the
export – never inferred.
provenance: ProvenanceThe export’s provenance block.
edges: Vec<ImportRecord>Every accepted record, in file order.
Trait Implementations§
Source§impl Clone for ImportedEdges
impl Clone for ImportedEdges
Source§impl Debug for ImportedEdges
impl Debug for ImportedEdges
Source§impl<'de> Deserialize<'de> for ImportedEdges
impl<'de> Deserialize<'de> for ImportedEdges
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 ImportedEdges
impl PartialEq for ImportedEdges
Source§impl Serialize for ImportedEdges
impl Serialize for ImportedEdges
impl StructuralPartialEq for ImportedEdges
Auto Trait Implementations§
impl Freeze for ImportedEdges
impl RefUnwindSafe for ImportedEdges
impl Send for ImportedEdges
impl Sync for ImportedEdges
impl Unpin for ImportedEdges
impl UnsafeUnpin for ImportedEdges
impl UnwindSafe for ImportedEdges
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more