pub type SignedActionHashed = SignedHashed<Action>;
Expand description

The hashed action and the signature that signed it

Trait Implementations§

source§

impl ChainItem for SignedActionHashed

§

type Hash = HoloHash<Action>

The type used to represent a hash of this item
source§

fn seq(&self) -> u32

The sequence in the chain
source§

fn get_hash(&self) -> &Self::Hash

The hash of this item
source§

fn prev_hash(&self) -> Option<&Self::Hash>

The hash of the previous item
source§

impl From<TestChainItem> for SignedActionHashed

source§

fn from(a: TestChainItem) -> SignedActionHashed

Converts to this type from the input type.
source§

impl SignedActionHashedExt for SignedActionHashed

source§

fn sign<'life0, 'async_trait>( keystore: &'life0 MetaLairClient, action: ActionHashed ) -> Pin<Box<dyn Future<Output = LairResult<Self>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

SignedAction constructor

source§

fn validate<'life0, 'async_trait>( &'life0 self ) -> Pin<Box<dyn Future<Output = Result<(), KeystoreError>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,

Validates a signed action

source§

fn from_content_sync(signed_action: SignedAction) -> Selfwhere Self: Sized,

Create a hash from data