pub struct BlockContentDBValue {
pub height: u32,
pub block_header: BlockHeader,
pub size: u32,
pub strippedsize: u32,
pub weight: u32,
pub txids: Vec<Txid>,
}Fields§
§height: u32§block_header: BlockHeader§size: u32§strippedsize: u32§weight: u32§txids: Vec<Txid>Implementations§
Trait Implementations§
Source§impl Clone for BlockContentDBValue
impl Clone for BlockContentDBValue
Source§fn clone(&self) -> BlockContentDBValue
fn clone(&self) -> BlockContentDBValue
Returns a copy of the value. Read more
1.0.0 · 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 BlockContentDBValue
impl Debug for BlockContentDBValue
Source§impl Deserialize for BlockContentDBValue
impl Deserialize for BlockContentDBValue
fn deserialize(buf: &[u8]) -> Self
Source§impl PartialEq for BlockContentDBValue
impl PartialEq for BlockContentDBValue
impl Eq for BlockContentDBValue
impl StructuralPartialEq for BlockContentDBValue
Auto Trait Implementations§
impl Freeze for BlockContentDBValue
impl RefUnwindSafe for BlockContentDBValue
impl Send for BlockContentDBValue
impl Sync for BlockContentDBValue
impl Unpin for BlockContentDBValue
impl UnwindSafe for BlockContentDBValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.