Struct pdotc::SignedPayload
source · pub struct SignedPayload<Call>(_);
Implementations§
source§impl<Call: Encode> SignedPayload<Call>
impl<Call: Encode> SignedPayload<Call>
pub fn new( call: Call, extra: GenericExtra, s_extra: SignedExtra ) -> SignedPayload<Call>
Trait Implementations§
source§impl<Call: Clone> Clone for SignedPayload<Call>
impl<Call: Clone> Clone for SignedPayload<Call>
source§fn clone(&self) -> SignedPayload<Call>
fn clone(&self) -> SignedPayload<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 SignedPayload<Call>
impl<Call: Debug> Debug for SignedPayload<Call>
source§impl<Call> Encode for SignedPayload<Call>where
Call: Encode,
(Call, GenericExtra, SignedExtra): Encode,
impl<Call> Encode for SignedPayload<Call>where Call: Encode, (Call, GenericExtra, SignedExtra): Encode,
source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy )
Convert self to a slice and append it to the destination.
source§fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
fn using_encoded<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
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 encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
impl<Call: Copy> Copy for SignedPayload<Call>
impl<Call> EncodeLike<SignedPayload<Call>> for SignedPayload<Call>where Call: Encode, (Call, GenericExtra, SignedExtra): Encode,
Auto Trait Implementations§
impl<Call> RefUnwindSafe for SignedPayload<Call>where Call: RefUnwindSafe,
impl<Call> Send for SignedPayload<Call>where Call: Send,
impl<Call> Sync for SignedPayload<Call>where Call: Sync,
impl<Call> Unpin for SignedPayload<Call>where Call: Unpin,
impl<Call> UnwindSafe for SignedPayload<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> 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
.