pub struct PullResult {
pub ops: Vec<OpRecord>,
pub latest_checkpoint: Option<String>,
}Expand description
What a pull returned — the proposal’s {ops, latest_checkpoint_ptr}.
Fields§
§ops: Vec<OpRecord>Every retained op above the since frontier, in canonical
(hlc, op_id) order.
latest_checkpoint: Option<String>checkpoint_hash of the current latest checkpoint, if any — the
cold-bootstrap pointer.
Trait Implementations§
Source§impl Clone for PullResult
impl Clone for PullResult
Source§fn clone(&self) -> PullResult
fn clone(&self) -> PullResult
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 moreSource§impl Debug for PullResult
impl Debug for PullResult
Source§impl PartialEq for PullResult
impl PartialEq for PullResult
Source§fn eq(&self, other: &PullResult) -> bool
fn eq(&self, other: &PullResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PullResult
Auto Trait Implementations§
impl Freeze for PullResult
impl RefUnwindSafe for PullResult
impl Send for PullResult
impl Sync for PullResult
impl Unpin for PullResult
impl UnsafeUnpin for PullResult
impl UnwindSafe for PullResult
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