pub enum UpdateMempoolEntriesOp {
AddEntry(MempoolEntry),
DeleteEntry(Txid),
UpdateEntry(MempoolEntry),
}
Variants§
Implementations§
Trait Implementations§
Source§impl BorshDeserialize for UpdateMempoolEntriesOp
impl BorshDeserialize for UpdateMempoolEntriesOp
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl Clone for UpdateMempoolEntriesOp
impl Clone for UpdateMempoolEntriesOp
Source§fn clone(&self) -> UpdateMempoolEntriesOp
fn clone(&self) -> UpdateMempoolEntriesOp
Returns a duplicate 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 UpdateMempoolEntriesOp
impl Debug for UpdateMempoolEntriesOp
Source§impl<'de> Deserialize<'de> for UpdateMempoolEntriesOp
impl<'de> Deserialize<'de> for UpdateMempoolEntriesOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl EnumExt for UpdateMempoolEntriesOp
impl EnumExt for UpdateMempoolEntriesOp
Source§impl FromIterator<UpdateMempoolEntriesOp> for UpdateMempoolEntries
impl FromIterator<UpdateMempoolEntriesOp> for UpdateMempoolEntries
Source§fn from_iter<I: IntoIterator<Item = UpdateMempoolEntriesOp>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = UpdateMempoolEntriesOp>>(iter: I) -> Self
Creates a value from an iterator. Read more
Source§impl Hash for UpdateMempoolEntriesOp
impl Hash for UpdateMempoolEntriesOp
Source§impl PartialEq for UpdateMempoolEntriesOp
impl PartialEq for UpdateMempoolEntriesOp
Source§impl Serialize for UpdateMempoolEntriesOp
impl Serialize for UpdateMempoolEntriesOp
impl Eq for UpdateMempoolEntriesOp
impl StructuralPartialEq for UpdateMempoolEntriesOp
Auto Trait Implementations§
impl Freeze for UpdateMempoolEntriesOp
impl RefUnwindSafe for UpdateMempoolEntriesOp
impl Send for UpdateMempoolEntriesOp
impl Sync for UpdateMempoolEntriesOp
impl Unpin for UpdateMempoolEntriesOp
impl UnwindSafe for UpdateMempoolEntriesOp
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