Struct nostr_sdk::bitcoin::network::message_network::Reject
pub struct Reject {
pub message: Cow<'static, str>,
pub ccode: RejectReason,
pub reason: Cow<'static, str>,
pub hash: Hash,
}Expand description
Reject message might be sent by peers rejecting one of our messages
Fields§
§message: Cow<'static, str>message type rejected
ccode: RejectReasonreason of rejection as code
reason: Cow<'static, str>reason of rejectection
hash: Hashreference to rejected item
Trait Implementations§
impl Eq for Reject
impl StructuralEq for Reject
impl StructuralPartialEq for Reject
Auto Trait Implementations§
impl RefUnwindSafe for Reject
impl Send for Reject
impl Sync for Reject
impl Unpin for Reject
impl UnwindSafe for Reject
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.