pub struct HaveList {
pub ref_name: String,
pub digest: PatchSetDigest,
pub patch_ids: Vec<ObjectId>,
}Expand description
A decoded, self-consistency-checked PSYNCHV1 have-list.
Fields§
§ref_name: StringThe one ref this have-list is about.
digest: PatchSetDigestThe declared digest – verified to match patch_ids at decode time.
patch_ids: Vec<ObjectId>Every patch id the sender of this message already holds for ref_name, sorted and
deduplicated (the shape compute_patch_set_digest’s input requires).
Trait Implementations§
impl Eq for HaveList
impl StructuralPartialEq for HaveList
Auto Trait Implementations§
impl Freeze for HaveList
impl RefUnwindSafe for HaveList
impl Send for HaveList
impl Sync for HaveList
impl Unpin for HaveList
impl UnsafeUnpin for HaveList
impl UnwindSafe for HaveList
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