pub struct CheckpointTransactionInfo { /* private fields */ }Expand description
Transaction information committed to in a checkpoint
Implementations§
Source§impl CheckpointTransactionInfo
impl CheckpointTransactionInfo
pub fn new( transaction: Digest, effects: Digest, signatures: Vec<UserSignature>, ) -> Self
pub fn new_with_address_aliases_versions( transaction: Digest, effects: Digest, signatures: Vec<(UserSignature, Option<u64>)>, ) -> Self
pub fn transaction(&self) -> &Digest
pub fn effects(&self) -> &Digest
pub fn signatures(&self) -> impl Iterator<Item = &UserSignature>
pub fn signatures_with_address_aliases_versions( &self, ) -> impl Iterator<Item = (&UserSignature, Option<u64>)>
Trait Implementations§
Source§impl Arbitrary for CheckpointTransactionInfo
impl Arbitrary for CheckpointTransactionInfo
Source§type Parameters = ()
type Parameters = ()
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = BoxedStrategy<CheckpointTransactionInfo>
type Strategy = BoxedStrategy<CheckpointTransactionInfo>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
fn arbitrary_with(args: <Self as Arbitrary>::Parameters) -> Self::Strategy
Source§impl Clone for CheckpointTransactionInfo
impl Clone for CheckpointTransactionInfo
Source§fn clone(&self) -> CheckpointTransactionInfo
fn clone(&self) -> CheckpointTransactionInfo
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 CheckpointTransactionInfo
impl Debug for CheckpointTransactionInfo
impl Eq for CheckpointTransactionInfo
impl StructuralPartialEq for CheckpointTransactionInfo
Auto Trait Implementations§
impl Freeze for CheckpointTransactionInfo
impl RefUnwindSafe for CheckpointTransactionInfo
impl Send for CheckpointTransactionInfo
impl Sync for CheckpointTransactionInfo
impl Unpin for CheckpointTransactionInfo
impl UnwindSafe for CheckpointTransactionInfo
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self to type T. The semantics of numeric casting with the as operator are followed, so <T as As>::as_::<U> can be used in the same way as T as U for numeric conversions. Read moreSource§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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more