pub struct InvVect {
pub obj_type: u32,
pub hash: Hash256,
}
Expand description
Inventory vector describing an object being requested or announced
Fields§
§obj_type: u32
§hash: Hash256
Hash of the object
Implementations§
Trait Implementations§
Source§impl Serializable<InvVect> for InvVect
impl Serializable<InvVect> for InvVect
impl Eq for InvVect
impl StructuralPartialEq for InvVect
Auto Trait Implementations§
impl Freeze for InvVect
impl RefUnwindSafe for InvVect
impl Send for InvVect
impl Sync for InvVect
impl Unpin for InvVect
impl UnwindSafe for InvVect
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