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