Struct bitcoincore_rpc_json::GetBlockFilterResult [−][src]
pub struct GetBlockFilterResult { pub header: FilterHash, pub filter: Vec<u8>, }
Fields
header: FilterHash
filter: Vec<u8>
Implementations
impl GetBlockFilterResult
[src]
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 Clone for GetBlockFilterResult
[src]fn clone(&self) -> GetBlockFilterResult
[src][−]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src][−]
impl<'de> Deserialize<'de> for GetBlockFilterResult
[src]
impl<'de> Deserialize<'de> for GetBlockFilterResult
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src][−]
__D: Deserializer<'de>,
impl PartialEq<GetBlockFilterResult> for GetBlockFilterResult
[src]
impl PartialEq<GetBlockFilterResult> for GetBlockFilterResult
[src]fn eq(&self, other: &GetBlockFilterResult) -> bool
[src][−]
fn ne(&self, other: &GetBlockFilterResult) -> bool
[src][−]
impl Serialize for GetBlockFilterResult
[src]
impl Serialize for GetBlockFilterResult
[src]