Struct fp_self_contained::CheckedExtrinsic
source · pub struct CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo> {
pub signed: CheckedSignature<AccountId, Extra, SelfContainedSignedInfo>,
pub function: Call,
}
Expand description
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: CheckedSignature<AccountId, Extra, SelfContainedSignedInfo>
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§
source§impl<AccountId, Call, Extra, SelfContainedSignedInfo, Origin> Applyable for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>where
AccountId: Member + MaybeDisplay,
Call: Member + Dispatchable<RuntimeOrigin = Origin> + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
Extra: SignedExtension<AccountId = AccountId, Call = Call>,
Origin: From<Option<AccountId>>,
SelfContainedSignedInfo: Send + Sync + 'static,
impl<AccountId, Call, Extra, SelfContainedSignedInfo, Origin> Applyable for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>where
AccountId: Member + MaybeDisplay,
Call: Member + Dispatchable<RuntimeOrigin = Origin> + SelfContainedCall<SignedInfo = SelfContainedSignedInfo>,
Extra: SignedExtension<AccountId = AccountId, Call = Call>,
Origin: From<Option<AccountId>>,
SelfContainedSignedInfo: Send + Sync + 'static,
source§impl<AccountId: Clone, Call: Clone, Extra: Clone, SelfContainedSignedInfo: Clone> Clone for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId: Clone, Call: Clone, Extra: Clone, SelfContainedSignedInfo: Clone> Clone for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
source§fn clone(
&self
) -> CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
fn clone( &self ) -> CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<AccountId, Call, Extra, SelfContainedSignedInfo> Debug for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId, Call, Extra, SelfContainedSignedInfo> Debug for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
source§impl<AccountId, Call: GetDispatchInfo, Extra, SelfContainedSignedInfo> GetDispatchInfo for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId, Call: GetDispatchInfo, Extra, SelfContainedSignedInfo> GetDispatchInfo for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
source§fn get_dispatch_info(&self) -> DispatchInfo
fn get_dispatch_info(&self) -> DispatchInfo
Return a
DispatchInfo
, containing relevant information of this dispatch. Read moresource§impl<AccountId: PartialEq, Call: PartialEq, Extra: PartialEq, SelfContainedSignedInfo: PartialEq> PartialEq for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId: PartialEq, Call: PartialEq, Extra: PartialEq, SelfContainedSignedInfo: PartialEq> PartialEq for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
source§fn eq(
&self,
other: &CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
) -> bool
fn eq( &self, other: &CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo> ) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<AccountId: Eq, Call: Eq, Extra: Eq, SelfContainedSignedInfo: Eq> Eq for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId, Call, Extra, SelfContainedSignedInfo> StructuralEq for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId, Call, Extra, SelfContainedSignedInfo> StructuralPartialEq for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
Auto Trait Implementations§
impl<AccountId, Call, Extra, SelfContainedSignedInfo> RefUnwindSafe for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>where
AccountId: RefUnwindSafe,
Call: RefUnwindSafe,
Extra: RefUnwindSafe,
SelfContainedSignedInfo: RefUnwindSafe,
impl<AccountId, Call, Extra, SelfContainedSignedInfo> Send for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId, Call, Extra, SelfContainedSignedInfo> Sync for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId, Call, Extra, SelfContainedSignedInfo> Unpin for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>
impl<AccountId, Call, Extra, SelfContainedSignedInfo> UnwindSafe for CheckedExtrinsic<AccountId, Call, Extra, SelfContainedSignedInfo>where
AccountId: UnwindSafe,
Call: UnwindSafe,
Extra: UnwindSafe,
SelfContainedSignedInfo: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CheckedConversion for T
impl<T> CheckedConversion for T
§fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
fn checked_from<T>(t: T) -> Option<Self>where
Self: TryFrom<T>,
§fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
fn checked_into<T>(self) -> Option<T>where
Self: TryInto<T>,
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> IsType<T> for T
impl<T> IsType<T> for T
§impl<T, Outer> IsWrappedBy<Outer> for T
impl<T, Outer> IsWrappedBy<Outer> for T
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> SaturatedConversion for T
impl<T> SaturatedConversion for T
§fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
fn saturated_from<T>(t: T) -> Selfwhere
Self: UniqueSaturatedFrom<T>,
§fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
fn saturated_into<T>(self) -> Twhere
Self: UniqueSaturatedInto<T>,
Consume self to return an equivalent value of
T
. Read more§impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
impl<T, U> TryIntoKey<U> for Twhere
U: TryFromKey<T>,
type Error = <U as TryFromKey<T>>::Error
fn try_into_key(self) -> Result<U, <U as TryFromKey<T>>::Error>
§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.§impl<T, S> UniqueSaturatedInto<T> for S
impl<T, S> UniqueSaturatedInto<T> for S
§fn unique_saturated_into(self) -> T
fn unique_saturated_into(self) -> T
Consume self to return an equivalent value of
T
.