referrerpolicy=no-referrer-when-downgrade

Trait sp_runtime::traits::ExtrinsicLike

source ·
pub trait ExtrinsicLike: Sized {
    // Provided methods
    fn is_signed(&self) -> Option<bool> { ... }
    fn is_bare(&self) -> bool { ... }
}
Expand description

Something that acts like an Extrinsic.

Provided Methods§

source

fn is_signed(&self) -> Option<bool>

👎Deprecated: Use and implement !is_bare() instead

Is this Extrinsic signed? If no information are available about signed/unsigned, None should be returned.

source

fn is_bare(&self) -> bool

Returns true if this Extrinsic is bare.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl ExtrinsicLike for OpaqueExtrinsic

source§

impl<Address: TypeInfo, Call: TypeInfo, Signature: TypeInfo, Extension: TypeInfo> ExtrinsicLike for UncheckedExtrinsic<Address, Call, Signature, Extension>

source§

impl<T> ExtrinsicLike for T
where T: Extrinsic,