Type Alias holochain_integrity_types::record::SignedActionHashed
source · 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.
Implementations§
source§impl SignedActionHashed
impl SignedActionHashed
sourcepub fn action_address(&self) -> &ActionHash
pub fn action_address(&self) -> &ActionHash
Access the Action Hash.
sourcepub fn raw_from_same_hash<T>(other: SignedHashed<T>) -> Self
pub fn raw_from_same_hash<T>(other: SignedHashed<T>) -> Self
Create a new SignedActionHashed from a type that implements into Action
and
has the same hash bytes.
The caller must make sure the hash does not change.
Trait Implementations§
source§impl AsRef<SignedHashed<Action>> for SignedActionHashed
impl AsRef<SignedHashed<Action>> for SignedActionHashed
source§fn as_ref(&self) -> &SignedActionHashed
fn as_ref(&self) -> &SignedActionHashed
Converts this type into a shared reference of the (usually inferred) input type.