Type Alias holochain_types::prelude::SignedActionHashed
pub type SignedActionHashed = SignedHashed<Action>;
Expand description
The hashed action and the signature that signed it
Aliased Type§
struct SignedActionHashed {
pub hashed: HoloHashed<Action>,
pub signature: Signature,
}
Fields§
§hashed: HoloHashed<Action>
The hashed content.
signature: Signature
The signature of the content.
Trait Implementations§
source§impl ChainItem for SignedActionHashed
impl ChainItem for SignedActionHashed
source§fn to_display(&self) -> String
fn to_display(&self) -> String
A display representation of the item
source§impl From<TestChainItem> for SignedActionHashed
impl From<TestChainItem> for SignedActionHashed
source§fn from(a: TestChainItem) -> SignedActionHashed
fn from(a: TestChainItem) -> SignedActionHashed
Converts to this type from the input type.
source§impl SignedActionHashedExt for SignedActionHashed
impl SignedActionHashedExt for SignedActionHashed
source§fn sign<'life0, 'async_trait>(
keystore: &'life0 MetaLairClient,
action_hashed: ActionHashed
) -> Pin<Box<dyn Future<Output = LairResult<Self>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn sign<'life0, 'async_trait>( keystore: &'life0 MetaLairClient, action_hashed: ActionHashed ) -> Pin<Box<dyn Future<Output = LairResult<Self>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait,
Construct by signing the Action (NOT including the hash)
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,
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,
fn from_content_sync(signed_action: SignedAction) -> Selfwhere Self: Sized,
Create a hash from data