Struct multiversx_sc_codec::multi_types::MultiValue6
source · pub struct MultiValue6<T0, T1, T2, T3, T4, T5>(pub (T0, T1, T2, T3, T4, T5));Tuple Fields§
§0: (T0, T1, T2, T3, T4, T5)Implementations§
source§impl<T0, T1, T2, T3, T4, T5> MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> MultiValue6<T0, T1, T2, T3, T4, T5>
pub fn into_tuple(self) -> (T0, T1, T2, T3, T4, T5)
Trait Implementations§
source§impl<T0: Clone, T1: Clone, T2: Clone, T3: Clone, T4: Clone, T5: Clone> Clone for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0: Clone, T1: Clone, T2: Clone, T3: Clone, T4: Clone, T5: Clone> Clone for MultiValue6<T0, T1, T2, T3, T4, T5>
source§fn clone(&self) -> MultiValue6<T0, T1, T2, T3, T4, T5>
fn clone(&self) -> MultiValue6<T0, T1, T2, T3, T4, T5>
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<T0: Debug, T1: Debug, T2: Debug, T3: Debug, T4: Debug, T5: Debug> Debug for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0: Debug, T1: Debug, T2: Debug, T3: Debug, T4: Debug, T5: Debug> Debug for MultiValue6<T0, T1, T2, T3, T4, T5>
source§impl<T0, T1, T2, T3, T4, T5> From<(T0, T1, T2, T3, T4, T5)> for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> From<(T0, T1, T2, T3, T4, T5)> for MultiValue6<T0, T1, T2, T3, T4, T5>
source§fn from(tuple: (T0, T1, T2, T3, T4, T5)) -> Self
fn from(tuple: (T0, T1, T2, T3, T4, T5)) -> Self
Converts to this type from the input type.
source§impl<T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq> PartialEq<MultiValue6<T0, T1, T2, T3, T4, T5>> for MultiValue6<T0, T1, T2, T3, T4, T5>
impl<T0: PartialEq, T1: PartialEq, T2: PartialEq, T3: PartialEq, T4: PartialEq, T5: PartialEq> PartialEq<MultiValue6<T0, T1, T2, T3, T4, T5>> for MultiValue6<T0, T1, T2, T3, T4, T5>
source§fn eq(&self, other: &MultiValue6<T0, T1, T2, T3, T4, T5>) -> bool
fn eq(&self, other: &MultiValue6<T0, T1, T2, T3, T4, T5>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl<T0, T1, T2, T3, T4, T5> TopDecodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopDecodeMulti,
T1: TopDecodeMulti,
T2: TopDecodeMulti,
T3: TopDecodeMulti,
T4: TopDecodeMulti,
T5: TopDecodeMulti,
impl<T0, T1, T2, T3, T4, T5> TopDecodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: TopDecodeMulti, T1: TopDecodeMulti, T2: TopDecodeMulti, T3: TopDecodeMulti, T4: TopDecodeMulti, T5: TopDecodeMulti,
fn multi_decode_or_handle_err<I, H>( input: &mut I, h: H ) -> Result<Self, H::HandledErr>where I: TopDecodeMultiInput, H: DecodeErrorHandler,
source§const IS_SINGLE_VALUE: bool = false
const IS_SINGLE_VALUE: bool = false
Used to optimize single value loading of endpoint arguments.
fn multi_decode<I>(input: &mut I) -> Result<Self, DecodeError>where I: TopDecodeMultiInput,
source§impl<T0, T1, T2, T3, T4, T5> TopDecodeMultiLength for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopDecodeMulti,
T1: TopDecodeMulti,
T2: TopDecodeMulti,
T3: TopDecodeMulti,
T4: TopDecodeMulti,
T5: TopDecodeMulti,
impl<T0, T1, T2, T3, T4, T5> TopDecodeMultiLength for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: TopDecodeMulti, T1: TopDecodeMulti, T2: TopDecodeMulti, T3: TopDecodeMulti, T4: TopDecodeMulti, T5: TopDecodeMulti,
source§impl<T0, T1, T2, T3, T4, T5> TopEncodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where
T0: TopEncodeMulti,
T1: TopEncodeMulti,
T2: TopEncodeMulti,
T3: TopEncodeMulti,
T4: TopEncodeMulti,
T5: TopEncodeMulti,
impl<T0, T1, T2, T3, T4, T5> TopEncodeMulti for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: TopEncodeMulti, T1: TopEncodeMulti, T2: TopEncodeMulti, T3: TopEncodeMulti, T4: TopEncodeMulti, T5: TopEncodeMulti,
source§fn multi_encode_or_handle_err<O, H>(
&self,
output: &mut O,
h: H
) -> Result<(), H::HandledErr>where
O: TopEncodeMultiOutput,
H: EncodeErrorHandler,
fn multi_encode_or_handle_err<O, H>( &self, output: &mut O, h: H ) -> Result<(), H::HandledErr>where O: TopEncodeMultiOutput, H: EncodeErrorHandler,
Version of
top_encode that can handle errors as soon as they occur.
For instance in can exit immediately and make sure that if it returns, it is a success.
By not deferring error handling, this can lead to somewhat smaller bytecode.source§fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where
O: TopEncodeMultiOutput,
fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where O: TopEncodeMultiOutput,
Attempt to serialize the value to ouput.
impl<T0, T1, T2, T3, T4, T5> StructuralPartialEq for MultiValue6<T0, T1, T2, T3, T4, T5>
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4, T5> CodecFromSelf for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: CodecFromSelf, T1: CodecFromSelf, T2: CodecFromSelf, T3: CodecFromSelf, T4: CodecFromSelf, T5: CodecFromSelf,
impl<T0, T1, T2, T3, T4, T5> RefUnwindSafe for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: RefUnwindSafe, T1: RefUnwindSafe, T2: RefUnwindSafe, T3: RefUnwindSafe, T4: RefUnwindSafe, T5: RefUnwindSafe,
impl<T0, T1, T2, T3, T4, T5> Send for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: Send, T1: Send, T2: Send, T3: Send, T4: Send, T5: Send,
impl<T0, T1, T2, T3, T4, T5> Sync for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: Sync, T1: Sync, T2: Sync, T3: Sync, T4: Sync, T5: Sync,
impl<T0, T1, T2, T3, T4, T5> Unpin for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: Unpin, T1: Unpin, T2: Unpin, T3: Unpin, T4: Unpin, T5: Unpin,
impl<T0, T1, T2, T3, T4, T5> UnwindSafe for MultiValue6<T0, T1, T2, T3, T4, T5>where T0: UnwindSafe, T1: UnwindSafe, T2: UnwindSafe, T3: UnwindSafe, T4: UnwindSafe, T5: 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