pub struct BulkPreviewRow<Entity, Err> {
pub id: String,
pub outcome: Result<(Entity, Entity), Err>,
}Expand description
One row of a bulk partial update’s dry run: the record as it is and as the patch would leave it, or the error the write would refuse it with.
Fields§
§id: StringThe id the patch named.
outcome: Result<(Entity, Entity), Err>(before, after), or why the row would be refused.
Auto Trait Implementations§
impl<Entity, Err> Freeze for BulkPreviewRow<Entity, Err>
impl<Entity, Err> RefUnwindSafe for BulkPreviewRow<Entity, Err>
impl<Entity, Err> Send for BulkPreviewRow<Entity, Err>
impl<Entity, Err> Sync for BulkPreviewRow<Entity, Err>
impl<Entity, Err> Unpin for BulkPreviewRow<Entity, Err>
impl<Entity, Err> UnsafeUnpin for BulkPreviewRow<Entity, Err>
impl<Entity, Err> UnwindSafe for BulkPreviewRow<Entity, Err>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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