pub struct LineageRef {
pub lineage_id: LineageId,
pub source: SourceRef,
pub destination: Option<DestinationRef>,
pub policy_refs: Vec<PolicyRef>,
}Expand description
Defines the lineage ref SDK value. Construction records local state only; documented runtimes, executors, or ports own side effects.
Fields§
§lineage_id: LineageIdStable lineage id used for typed lineage, lookup, or dedupe.
source: SourceRefSource label or ref for this item; it is metadata and does not fetch content by itself.
destination: Option<DestinationRef>Destination label or ref for this item; it is metadata and does not deliver content by itself.
policy_refs: Vec<PolicyRef>Policy references that govern admission, projection, execution, or delivery.
Trait Implementations§
Source§impl Clone for LineageRef
impl Clone for LineageRef
Source§fn clone(&self) -> LineageRef
fn clone(&self) -> LineageRef
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 LineageRef
impl Debug for LineageRef
Source§impl<'de> Deserialize<'de> for LineageRef
impl<'de> Deserialize<'de> for LineageRef
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 LineageRef
impl PartialEq for LineageRef
Source§fn eq(&self, other: &LineageRef) -> bool
fn eq(&self, other: &LineageRef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LineageRef
impl Serialize for LineageRef
impl Eq for LineageRef
impl StructuralPartialEq for LineageRef
Auto Trait Implementations§
impl Freeze for LineageRef
impl RefUnwindSafe for LineageRef
impl Send for LineageRef
impl Sync for LineageRef
impl Unpin for LineageRef
impl UnsafeUnpin for LineageRef
impl UnwindSafe for LineageRef
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