Struct nostr_sdk::bitcoin::consensus::encode::CheckedData
pub struct CheckedData(pub Vec<u8, Global>);Expand description
Data which must be preceded by a 4-byte checksum.
Tuple Fields§
§0: Vec<u8, Global>Trait Implementations§
§impl Clone for CheckedData
impl Clone for CheckedData
§fn clone(&self) -> CheckedData
fn clone(&self) -> CheckedData
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 more§impl Debug for CheckedData
impl Debug for CheckedData
§impl Decodable for CheckedData
impl Decodable for CheckedData
§impl Encodable for CheckedData
impl Encodable for CheckedData
§impl PartialEq<CheckedData> for CheckedData
impl PartialEq<CheckedData> for CheckedData
§fn eq(&self, other: &CheckedData) -> bool
fn eq(&self, other: &CheckedData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CheckedData
impl StructuralEq for CheckedData
impl StructuralPartialEq for CheckedData
Auto Trait Implementations§
impl RefUnwindSafe for CheckedData
impl Send for CheckedData
impl Sync for CheckedData
impl Unpin for CheckedData
impl UnwindSafe for CheckedData
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.