pub struct PayloadObjectReference {
pub offset: usize,
pub object_index: u32,
pub raw_object_index: Vec<u8>,
}Expand description
One canonical variable-width object index in an operation payload.
Fields§
§offset: usizeAbsolute offset of the width marker.
object_index: u32Decoded object index.
raw_object_index: Vec<u8>Exact serialized variable-width object-index token.
Trait Implementations§
Source§impl Clone for PayloadObjectReference
impl Clone for PayloadObjectReference
Source§fn clone(&self) -> PayloadObjectReference
fn clone(&self) -> PayloadObjectReference
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 PayloadObjectReference
impl Debug for PayloadObjectReference
impl Eq for PayloadObjectReference
Source§impl PartialEq for PayloadObjectReference
impl PartialEq for PayloadObjectReference
impl StructuralPartialEq for PayloadObjectReference
Auto Trait Implementations§
impl Freeze for PayloadObjectReference
impl RefUnwindSafe for PayloadObjectReference
impl Send for PayloadObjectReference
impl Sync for PayloadObjectReference
impl Unpin for PayloadObjectReference
impl UnsafeUnpin for PayloadObjectReference
impl UnwindSafe for PayloadObjectReference
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