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