pub struct GuardedBatchOutcome {
pub summary: BatchWriteSummary,
pub refused: Option<GuardedBatchRefusal>,
}Expand description
Outcome of crate::GraphStore::upsert_edges_guarded. refused is
Some exactly when summary.affected == 0 after a guard refusal;
None when every edge in the batch was written.
Fields§
§summary: BatchWriteSummary§refused: Option<GuardedBatchRefusal>Trait Implementations§
Source§impl Clone for GuardedBatchOutcome
impl Clone for GuardedBatchOutcome
Source§fn clone(&self) -> GuardedBatchOutcome
fn clone(&self) -> GuardedBatchOutcome
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 moreAuto Trait Implementations§
impl Freeze for GuardedBatchOutcome
impl RefUnwindSafe for GuardedBatchOutcome
impl Send for GuardedBatchOutcome
impl Sync for GuardedBatchOutcome
impl Unpin for GuardedBatchOutcome
impl UnsafeUnpin for GuardedBatchOutcome
impl UnwindSafe for GuardedBatchOutcome
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