pub struct RelayV1 {
pub at_ms: u64,
pub target: Partition,
pub puts: Vec<(Key, Value)>,
pub deletes: Vec<Key>,
}Expand description
An idempotent relay of upserts and deletes to one partition.
Fields§
§at_ms: u64Writer plan-time lower bound on commit time. V1 changed in place before deployment.
target: PartitionDestination partition.
puts: Vec<(Key, Value)>Idempotent key/value upserts.
deletes: Vec<Key>Keys removed after this row’s upserts.
Trait Implementations§
impl Eq for RelayV1
impl StructuralPartialEq for RelayV1
Auto Trait Implementations§
impl Freeze for RelayV1
impl RefUnwindSafe for RelayV1
impl Send for RelayV1
impl Sync for RelayV1
impl Unpin for RelayV1
impl UnsafeUnpin for RelayV1
impl UnwindSafe for RelayV1
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