pub struct UpdateMempoolEntries(/* private fields */);
Implementations§
Source§impl UpdateMempoolEntries
impl UpdateMempoolEntries
pub fn new() -> Self
pub fn get_entry(&self, index: usize) -> Option<&UpdateMempoolEntriesOp>
pub fn is_empty(&self) -> bool
pub fn len(&self) -> usize
pub fn push(&mut self, op: UpdateMempoolEntriesOp)
pub fn iter(&self) -> impl Iterator<Item = &UpdateMempoolEntriesOp>
pub fn into_iter(self) -> impl Iterator<Item = UpdateMempoolEntriesOp>
pub fn split_by_size( &self, max_size: usize, ) -> Result<Vec<UpdateMempoolEntries>, Error>
Trait Implementations§
Source§impl BorshDeserialize for UpdateMempoolEntries
impl BorshDeserialize for UpdateMempoolEntries
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 UpdateMempoolEntries
impl Clone for UpdateMempoolEntries
Source§fn clone(&self) -> UpdateMempoolEntries
fn clone(&self) -> UpdateMempoolEntries
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 UpdateMempoolEntries
impl Debug for UpdateMempoolEntries
Source§impl<'de> Deserialize<'de> for UpdateMempoolEntries
impl<'de> Deserialize<'de> for UpdateMempoolEntries
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 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 Into<UpdateMempoolEntriesInstruction> for &UpdateMempoolEntries
impl Into<UpdateMempoolEntriesInstruction> for &UpdateMempoolEntries
Source§fn into(self) -> UpdateMempoolEntriesInstruction
fn into(self) -> UpdateMempoolEntriesInstruction
Converts this type into the (usually inferred) input type.
Source§impl Into<UpdateMempoolEntriesInstruction> for UpdateMempoolEntries
impl Into<UpdateMempoolEntriesInstruction> for UpdateMempoolEntries
Source§fn into(self) -> UpdateMempoolEntriesInstruction
fn into(self) -> UpdateMempoolEntriesInstruction
Converts this type into the (usually inferred) input type.
Source§impl<'a> IntoIterator for &'a UpdateMempoolEntries
impl<'a> IntoIterator for &'a UpdateMempoolEntries
Source§impl IntoIterator for UpdateMempoolEntries
impl IntoIterator for UpdateMempoolEntries
Auto Trait Implementations§
impl Freeze for UpdateMempoolEntries
impl RefUnwindSafe for UpdateMempoolEntries
impl Send for UpdateMempoolEntries
impl Sync for UpdateMempoolEntries
impl Unpin for UpdateMempoolEntries
impl UnwindSafe for UpdateMempoolEntries
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