pub struct SourceExecutorReadOptions {
pub include_ordinal: bool,
pub include_content_version_fp: bool,
pub include_value: bool,
}Fields§
§include_ordinal: boolWhen set to true, the implementation must return a non-None ordinal.
include_content_version_fp: boolWhen set to true, the implementation has the discretion to decide whether or not to return a non-None content_version_fp.
The guideline is to return it only if it’s very efficient to get it.
If it’s returned in list(), it must be returned in get_value().
include_value: boolFor get calls, when set to true, the implementation must return a non-None value.
For list calls, when set to true, the implementation has the discretion to decide whether or not to include it. The guideline is to only include it if a single “list() with content” call is significantly more efficient than “list() without content + series of get_value()” calls.
Even if list() already returns value when it’s true, get_value() must still return value when it’s true.
Trait Implementations§
Source§impl Debug for SourceExecutorReadOptions
impl Debug for SourceExecutorReadOptions
Source§impl Default for SourceExecutorReadOptions
impl Default for SourceExecutorReadOptions
Source§fn default() -> SourceExecutorReadOptions
fn default() -> SourceExecutorReadOptions
Auto Trait Implementations§
impl Freeze for SourceExecutorReadOptions
impl RefUnwindSafe for SourceExecutorReadOptions
impl Send for SourceExecutorReadOptions
impl Sync for SourceExecutorReadOptions
impl Unpin for SourceExecutorReadOptions
impl UnwindSafe for SourceExecutorReadOptions
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
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> ⓘ
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> ⓘ
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