Struct rosetta_types::mempool_response::MempoolResponse
source · pub struct MempoolResponse {
pub transaction_identifiers: Vec<TransactionIdentifier>,
}
Expand description
MempoolResponse : A MempoolResponse contains all transaction identifiers in the mempool for a particular network_identifier.
Fields§
§transaction_identifiers: Vec<TransactionIdentifier>
Implementations§
source§impl MempoolResponse
impl MempoolResponse
sourcepub fn new(
transaction_identifiers: Vec<TransactionIdentifier>
) -> MempoolResponse
pub fn new( transaction_identifiers: Vec<TransactionIdentifier> ) -> MempoolResponse
A MempoolResponse contains all transaction identifiers in the mempool for a particular network_identifier.
Trait Implementations§
source§impl Clone for MempoolResponse
impl Clone for MempoolResponse
source§fn clone(&self) -> MempoolResponse
fn clone(&self) -> MempoolResponse
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 moresource§impl Debug for MempoolResponse
impl Debug for MempoolResponse
source§impl Default for MempoolResponse
impl Default for MempoolResponse
source§fn default() -> MempoolResponse
fn default() -> MempoolResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MempoolResponse
impl<'de> Deserialize<'de> for MempoolResponse
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 PartialEq<MempoolResponse> for MempoolResponse
impl PartialEq<MempoolResponse> for MempoolResponse
source§fn eq(&self, other: &MempoolResponse) -> bool
fn eq(&self, other: &MempoolResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MempoolResponse
impl Serialize for MempoolResponse
impl Eq for MempoolResponse
impl StructuralEq for MempoolResponse
impl StructuralPartialEq for MempoolResponse
Auto Trait Implementations§
impl RefUnwindSafe for MempoolResponse
impl Send for MempoolResponse
impl Sync for MempoolResponse
impl Unpin for MempoolResponse
impl UnwindSafe for MempoolResponse
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