[][src]Struct bitcoincore_rpc_json::GetBlockFilterResult

pub struct GetBlockFilterResult {
    pub header: FilterHash,
    pub filter: Vec<u8>,
}

Fields

header: FilterHashfilter: Vec<u8>

Implementations

impl GetBlockFilterResult[src]

pub fn to_filter(&self) -> BlockFilter[src]

Get the filter. Note that this copies the underlying filter data. To prevent this, use [into_filter] instead.

pub fn into_filter(self) -> BlockFilter[src]

Convert the result in the filter type.

Trait Implementations

impl Clone for GetBlockFilterResult[src]

impl Debug for GetBlockFilterResult[src]

impl<'de> Deserialize<'de> for GetBlockFilterResult[src]

impl Eq for GetBlockFilterResult[src]

impl PartialEq<GetBlockFilterResult> for GetBlockFilterResult[src]

impl Serialize for GetBlockFilterResult[src]

impl StructuralEq for GetBlockFilterResult[src]

impl StructuralPartialEq for GetBlockFilterResult[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.