#[non_exhaustive]pub struct LineageSubgraph {
pub artifacts: Vec<Artifact>,
pub executions: Vec<Execution>,
pub events: Vec<Event>,
/* private fields */
}Expand description
A subgraph of the overall lineage graph. Event edges connect Artifact and Execution nodes.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.artifacts: Vec<Artifact>The Artifact nodes in the subgraph.
executions: Vec<Execution>The Execution nodes in the subgraph.
events: Vec<Event>The Event edges between Artifacts and Executions in the subgraph.
Implementations§
Source§impl LineageSubgraph
impl LineageSubgraph
pub fn new() -> Self
Sourcepub fn set_artifacts<T, V>(self, v: T) -> Self
pub fn set_artifacts<T, V>(self, v: T) -> Self
Sets the value of artifacts.
Sourcepub fn set_executions<T, V>(self, v: T) -> Self
pub fn set_executions<T, V>(self, v: T) -> Self
Sets the value of executions.
Sourcepub fn set_events<T, V>(self, v: T) -> Self
pub fn set_events<T, V>(self, v: T) -> Self
Sets the value of events.
Trait Implementations§
Source§impl Clone for LineageSubgraph
impl Clone for LineageSubgraph
Source§fn clone(&self) -> LineageSubgraph
fn clone(&self) -> LineageSubgraph
Returns a copy of the value. Read more
1.0.0 · 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 LineageSubgraph
impl Debug for LineageSubgraph
Source§impl Default for LineageSubgraph
impl Default for LineageSubgraph
Source§fn default() -> LineageSubgraph
fn default() -> LineageSubgraph
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LineageSubgraphwhere
LineageSubgraph: Default,
impl<'de> Deserialize<'de> for LineageSubgraphwhere
LineageSubgraph: Default,
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 Message for LineageSubgraph
impl Message for LineageSubgraph
Source§impl PartialEq for LineageSubgraph
impl PartialEq for LineageSubgraph
Source§impl Serialize for LineageSubgraph
impl Serialize for LineageSubgraph
impl StructuralPartialEq for LineageSubgraph
Auto Trait Implementations§
impl Freeze for LineageSubgraph
impl RefUnwindSafe for LineageSubgraph
impl Send for LineageSubgraph
impl Sync for LineageSubgraph
impl Unpin for LineageSubgraph
impl UnwindSafe for LineageSubgraph
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