Struct ckb_types::packed::BlockFilterHashes
source · pub struct BlockFilterHashes(/* private fields */);
Implementations§
source§impl BlockFilterHashes
impl BlockFilterHashes
pub const FIELD_COUNT: usize = 3usize
pub fn total_size(&self) -> usize
pub fn field_count(&self) -> usize
pub fn count_extra_fields(&self) -> usize
pub fn has_extra_fields(&self) -> bool
pub fn start_number(&self) -> Uint64
pub fn parent_block_filter_hash(&self) -> Byte32
pub fn block_filter_hashes(&self) -> Byte32Vec
pub fn as_reader<'r>(&'r self) -> BlockFilterHashesReader<'r>
Trait Implementations§
source§impl Clone for BlockFilterHashes
impl Clone for BlockFilterHashes
source§fn clone(&self) -> BlockFilterHashes
fn clone(&self) -> BlockFilterHashes
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 BlockFilterHashes
impl Debug for BlockFilterHashes
source§impl Default for BlockFilterHashes
impl Default for BlockFilterHashes
source§fn default() -> BlockFilterHashes
fn default() -> BlockFilterHashes
Returns the “default value” for a type. Read more
source§impl Display for BlockFilterHashes
impl Display for BlockFilterHashes
source§impl Entity for BlockFilterHashes
impl Entity for BlockFilterHashes
type Builder = BlockFilterHashesBuilder
const NAME: &'static str = "BlockFilterHashes"
fn new_unchecked(data: Bytes) -> BlockFilterHashes
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<BlockFilterHashes, VerificationError>
fn from_compatible_slice( slice: &[u8] ) -> Result<BlockFilterHashes, VerificationError>
fn new_builder() -> <BlockFilterHashes as Entity>::Builder
fn as_builder(self) -> <BlockFilterHashes as Entity>::Builder
source§impl From<BlockFilterHashes> for BlockFilterMessageUnion
impl From<BlockFilterHashes> for BlockFilterMessageUnion
source§fn from(item: BlockFilterHashes) -> BlockFilterMessageUnion
fn from(item: BlockFilterHashes) -> BlockFilterMessageUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for BlockFilterHashes
impl Send for BlockFilterHashes
impl Sync for BlockFilterHashes
impl Unpin for BlockFilterHashes
impl UnwindSafe for BlockFilterHashes
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