[][src]Struct sp_runtime::generic::CheckedExtrinsic

pub struct CheckedExtrinsic<AccountId, Call, Extra> {
    pub signed: Option<(AccountId, Extra)>,
    pub function: Call,
}

Definition of something that the external world might want to say; its existence implies that it has been checked and is good, particularly with regards to the signature.

Fields

signed: Option<(AccountId, Extra)>

Who this purports to be from and the number of extrinsics have come before from the same signer, if anyone (note this is not a signature).

function: Call

The function that should be called.

Trait Implementations

impl<AccountId, Call, Extra, Origin> Applyable for CheckedExtrinsic<AccountId, Call, Extra> where
    AccountId: Member + MaybeDisplay,
    Call: Member + Dispatchable<Origin = Origin>,
    Extra: SignedExtension<AccountId = AccountId, Call = Call>,
    Origin: From<Option<AccountId>>, 
[src]

type Call = Call

Type by which we can dispatch. Restricts the UnsignedValidator type.

impl<AccountId: Clone, Call: Clone, Extra: Clone> Clone for CheckedExtrinsic<AccountId, Call, Extra>[src]

impl<AccountId, Call, Extra> Debug for CheckedExtrinsic<AccountId, Call, Extra> where
    AccountId: Debug,
    Call: Debug,
    Extra: Debug
[src]

impl<AccountId: Eq, Call: Eq, Extra: Eq> Eq for CheckedExtrinsic<AccountId, Call, Extra>[src]

impl<AccountId: PartialEq, Call: PartialEq, Extra: PartialEq> PartialEq<CheckedExtrinsic<AccountId, Call, Extra>> for CheckedExtrinsic<AccountId, Call, Extra>[src]

impl<AccountId, Call, Extra> StructuralEq for CheckedExtrinsic<AccountId, Call, Extra>[src]

impl<AccountId, Call, Extra> StructuralPartialEq for CheckedExtrinsic<AccountId, Call, Extra>[src]

Auto Trait Implementations

impl<AccountId, Call, Extra> RefUnwindSafe for CheckedExtrinsic<AccountId, Call, Extra> where
    AccountId: RefUnwindSafe,
    Call: RefUnwindSafe,
    Extra: RefUnwindSafe
[src]

impl<AccountId, Call, Extra> Send for CheckedExtrinsic<AccountId, Call, Extra> where
    AccountId: Send,
    Call: Send,
    Extra: Send
[src]

impl<AccountId, Call, Extra> Sync for CheckedExtrinsic<AccountId, Call, Extra> where
    AccountId: Sync,
    Call: Sync,
    Extra: Sync
[src]

impl<AccountId, Call, Extra> Unpin for CheckedExtrinsic<AccountId, Call, Extra> where
    AccountId: Unpin,
    Call: Unpin,
    Extra: Unpin
[src]

impl<AccountId, Call, Extra> UnwindSafe for CheckedExtrinsic<AccountId, Call, Extra> where
    AccountId: UnwindSafe,
    Call: UnwindSafe,
    Extra: UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CheckedConversion for T[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 
[src]

pub fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Member for T where
    T: 'static + Clone + PartialEq<T> + Eq + Send + Sync + Debug
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,