pub struct TabularDataPair {
pub left: Option<TabularData>,
pub right: Option<TabularData>,
}Expand description
A pair of tabular data (left/right sides of a comparison).
Fields§
§left: Option<TabularData>§right: Option<TabularData>Implementations§
Source§impl TabularDataPair
impl TabularDataPair
Sourcepub fn from_artifacts(node: &DiffNode, data: &dyn DataAccess) -> Option<Self>
pub fn from_artifacts(node: &DiffNode, data: &dyn DataAccess) -> Option<Self>
Build a TabularDataPair from tabular_v1 artifacts on a node.
Returns None if neither left nor right artifact is present.
This is the standard way for transformers and extractors to obtain
tabular data without knowing the source format.
Trait Implementations§
Source§impl Clone for TabularDataPair
impl Clone for TabularDataPair
Source§fn clone(&self) -> TabularDataPair
fn clone(&self) -> TabularDataPair
Returns a duplicate 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 TabularDataPair
impl Debug for TabularDataPair
Source§impl<'de> Deserialize<'de> for TabularDataPair
impl<'de> Deserialize<'de> for TabularDataPair
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
Auto Trait Implementations§
impl Freeze for TabularDataPair
impl RefUnwindSafe for TabularDataPair
impl Send for TabularDataPair
impl Sync for TabularDataPair
impl Unpin for TabularDataPair
impl UnsafeUnpin for TabularDataPair
impl UnwindSafe for TabularDataPair
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