pub struct ReplaceBinary {
pub node_id: NodeId,
pub old_blob_id: ObjectId,
pub new_blob_id: ObjectId,
}Expand description
Binary replacement payload.
Fields§
§node_id: NodeIdNode identity (bytes, 32).
old_blob_id: ObjectIdOld blob ID (object_id).
new_blob_id: ObjectIdNew blob ID (object_id).
Implementations§
Trait Implementations§
Source§impl CanonicalEncode for ReplaceBinary
impl CanonicalEncode for ReplaceBinary
Source§fn encode_canonical(&self, writer: &mut CanonicalWriter) -> Result<()>
fn encode_canonical(&self, writer: &mut CanonicalWriter) -> Result<()>
Encode this value into canonical bytes.
Source§impl Clone for ReplaceBinary
impl Clone for ReplaceBinary
Source§fn clone(&self) -> ReplaceBinary
fn clone(&self) -> ReplaceBinary
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 ReplaceBinary
impl Debug for ReplaceBinary
impl Eq for ReplaceBinary
Source§impl PartialEq for ReplaceBinary
impl PartialEq for ReplaceBinary
Source§fn eq(&self, other: &ReplaceBinary) -> bool
fn eq(&self, other: &ReplaceBinary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ReplaceBinary
Auto Trait Implementations§
impl Freeze for ReplaceBinary
impl RefUnwindSafe for ReplaceBinary
impl Send for ReplaceBinary
impl Sync for ReplaceBinary
impl Unpin for ReplaceBinary
impl UnsafeUnpin for ReplaceBinary
impl UnwindSafe for ReplaceBinary
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