[−][src]Struct nimiq_messages::InvVector
Fields
ty: InvVectorType
hash: Blake2bHash
Methods
impl InvVector
[src]
pub const VECTORS_MAX_COUNT: usize
[src]
pub fn new(ty: InvVectorType, hash: Blake2bHash) -> Self
[src]
pub fn from_block(block: &Block) -> Self
[src]
pub fn from_transaction(transaction: &Transaction) -> Self
[src]
Trait Implementations
impl Clone for InvVector
[src]
impl Eq for InvVector
[src]
impl Ord for InvVector
[src]
fn cmp(&self, other: &InvVector) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<InvVector> for InvVector
[src]
impl PartialOrd<InvVector> for InvVector
[src]
fn partial_cmp(&self, other: &InvVector) -> Option<Ordering>
[src]
fn lt(&self, other: &InvVector) -> bool
[src]
fn le(&self, other: &InvVector) -> bool
[src]
fn gt(&self, other: &InvVector) -> bool
[src]
fn ge(&self, other: &InvVector) -> bool
[src]
impl Debug for InvVector
[src]
impl Hash for InvVector
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for InvVector
[src]
impl StructuralEq for InvVector
[src]
impl Deserialize for InvVector
[src]
fn deserialize<R: ReadBytesExt>(
reader: &mut R
) -> Result<Self, SerializingError>
[src]
reader: &mut R
) -> Result<Self, SerializingError>
fn deserialize_from_vec(v: &Vec<u8>) -> Result<Self, SerializingError>
[src]
impl Serialize for InvVector
[src]
fn serialize<W: WriteBytesExt>(
&self,
writer: &mut W
) -> Result<usize, SerializingError>
[src]
&self,
writer: &mut W
) -> Result<usize, SerializingError>
fn serialized_size(&self) -> usize
[src]
fn serialize_to_vec(&self) -> Vec<u8>
[src]
Auto Trait Implementations
impl Send for InvVector
impl Sync for InvVector
impl Unpin for InvVector
impl UnwindSafe for InvVector
impl RefUnwindSafe for InvVector
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self