Struct pdotc::UncheckedExtrinsic
source · pub struct UncheckedExtrinsic<Call> {
pub signature: Option<(GenericAddress, MultiSignature, GenericExtra)>,
pub function: Call,
}
Fields§
§signature: Option<(GenericAddress, MultiSignature, GenericExtra)>
Address pubkey, Signature, Extras
function: Call
Implementations§
source§impl<Call: Encode> UncheckedExtrinsic<Call>
impl<Call: Encode> UncheckedExtrinsic<Call>
Trait Implementations§
source§impl<Call: Clone> Clone for UncheckedExtrinsic<Call>
impl<Call: Clone> Clone for UncheckedExtrinsic<Call>
source§fn clone(&self) -> UncheckedExtrinsic<Call>
fn clone(&self) -> UncheckedExtrinsic<Call>
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<Call: Debug> Debug for UncheckedExtrinsic<Call>
impl<Call: Debug> Debug for UncheckedExtrinsic<Call>
source§impl<Call> Decode for UncheckedExtrinsic<Call>where
Call: Decode + Encode,
impl<Call> Decode for UncheckedExtrinsic<Call>where Call: Decode + Encode,
source§fn decode<I: Input>(input: &mut I) -> Result<Self, Error>
fn decode<I: Input>(input: &mut I) -> Result<Self, Error>
Attempt to deserialise the value from input.
source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>( input: &mut I, dst: &mut MaybeUninit<Self> ) -> Result<DecodeFinished, Error>where I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
source§impl<Call> Encode for UncheckedExtrinsic<Call>where
Call: Encode,
impl<Call> Encode for UncheckedExtrinsic<Call>where Call: Encode,
source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
source§fn encode_to<T>(&self, dest: &mut T)where
T: Output + ?Sized,
fn encode_to<T>(&self, dest: &mut T)where T: Output + ?Sized,
Convert self to a slice and append it to the destination.
source§fn using_encoded<R, F>(&self, f: F) -> Rwhere
F: FnOnce(&[u8]) -> R,
fn using_encoded<R, F>(&self, f: F) -> Rwhere F: FnOnce(&[u8]) -> R,
Convert self to a slice and then invoke the given closure with it.
source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
source§impl<Call: PartialEq> PartialEq<UncheckedExtrinsic<Call>> for UncheckedExtrinsic<Call>
impl<Call: PartialEq> PartialEq<UncheckedExtrinsic<Call>> for UncheckedExtrinsic<Call>
source§fn eq(&self, other: &UncheckedExtrinsic<Call>) -> bool
fn eq(&self, other: &UncheckedExtrinsic<Call>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<Call: Eq> Eq for UncheckedExtrinsic<Call>
impl<Call> StructuralEq for UncheckedExtrinsic<Call>
impl<Call> StructuralPartialEq for UncheckedExtrinsic<Call>
Auto Trait Implementations§
impl<Call> RefUnwindSafe for UncheckedExtrinsic<Call>where Call: RefUnwindSafe,
impl<Call> Send for UncheckedExtrinsic<Call>where Call: Send,
impl<Call> Sync for UncheckedExtrinsic<Call>where Call: Sync,
impl<Call> Unpin for UncheckedExtrinsic<Call>where Call: Unpin,
impl<Call> UnwindSafe for UncheckedExtrinsic<Call>where Call: 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
source§impl<T> DecodeLimit for Twhere
T: Decode,
impl<T> DecodeLimit for Twhere T: Decode,
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>
source§impl<T, Outer> IsWrappedBy<Outer> for Twhere
Outer: AsRef<T> + AsMut<T> + From<T>,
T: From<Outer>,
impl<T, Outer> IsWrappedBy<Outer> for Twhere Outer: AsRef<T> + AsMut<T> + From<T>, T: From<Outer>,
source§impl<S, T> UncheckedInto<T> for Swhere
T: UncheckedFrom<S>,
impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,
source§fn unchecked_into(self) -> T
fn unchecked_into(self) -> T
The counterpart to
unchecked_from
.