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