pub struct RejectedFragmentInfo {
pub id: FragmentId,
pub reason: FragmentRejectionReason,
}
Expand description
Information about a fragment rejected by the mempool. This is different from being rejected by the ledger during an attempt to apply this fragment.
Fields§
§id: FragmentId
§reason: FragmentRejectionReason
Trait Implementations§
source§impl Clone for RejectedFragmentInfo
impl Clone for RejectedFragmentInfo
source§fn clone(&self) -> RejectedFragmentInfo
fn clone(&self) -> RejectedFragmentInfo
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 RejectedFragmentInfo
impl Debug for RejectedFragmentInfo
source§impl<'de> Deserialize<'de> for RejectedFragmentInfo
impl<'de> Deserialize<'de> for RejectedFragmentInfo
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<RejectedFragmentInfo> for RejectedFragmentInfo
impl PartialEq<RejectedFragmentInfo> for RejectedFragmentInfo
source§fn eq(&self, other: &RejectedFragmentInfo) -> bool
fn eq(&self, other: &RejectedFragmentInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RejectedFragmentInfo
impl Serialize for RejectedFragmentInfo
impl Eq for RejectedFragmentInfo
impl StructuralEq for RejectedFragmentInfo
impl StructuralPartialEq for RejectedFragmentInfo
Auto Trait Implementations§
impl RefUnwindSafe for RejectedFragmentInfo
impl Send for RejectedFragmentInfo
impl Sync for RejectedFragmentInfo
impl Unpin for RejectedFragmentInfo
impl UnwindSafe for RejectedFragmentInfo
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