Struct unc_primitives::sharding::ReceiptList
source · pub struct ReceiptList<'a>(pub ShardId, pub &'a [Receipt]);Tuple Fields§
§0: ShardId§1: &'a [Receipt]Trait Implementations§
source§impl<'a> BorshSerialize for ReceiptList<'a>
impl<'a> BorshSerialize for ReceiptList<'a>
source§impl<'a> Clone for ReceiptList<'a>
impl<'a> Clone for ReceiptList<'a>
source§fn clone(&self) -> ReceiptList<'a>
fn clone(&self) -> ReceiptList<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for ReceiptList<'a>
impl<'a> RefUnwindSafe for ReceiptList<'a>
impl<'a> Send for ReceiptList<'a>
impl<'a> Sync for ReceiptList<'a>
impl<'a> Unpin for ReceiptList<'a>
impl<'a> UnwindSafe for ReceiptList<'a>
Blanket Implementations§
source§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
source§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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