pub struct PartialSourceRowData {
pub ordinal: Option<Ordinal>,
pub content_version_fp: Option<Vec<u8>>,
pub value: Option<SourceValue>,
}Fields§
§ordinal: Option<Ordinal>§content_version_fp: Option<Vec<u8>>A content version fingerprint can be anything that changes when the content of the row changes. Note that it’s acceptable if sometimes the fingerprint differs even though the content is the same, which will lead to less optimization opportunities but won’t break correctness.
It’s optional. The source shouldn’t use generic way to compute it, e.g. computing a hash of the content.
The framework will do so. If there’s no fast way to get it from the source, leave it as None.
value: Option<SourceValue>Trait Implementations§
Source§impl Debug for PartialSourceRowData
impl Debug for PartialSourceRowData
Source§impl Default for PartialSourceRowData
impl Default for PartialSourceRowData
Source§fn default() -> PartialSourceRowData
fn default() -> PartialSourceRowData
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PartialSourceRowData
impl RefUnwindSafe for PartialSourceRowData
impl Send for PartialSourceRowData
impl Sync for PartialSourceRowData
impl Unpin for PartialSourceRowData
impl UnwindSafe for PartialSourceRowData
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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