pub struct MultiArgs6<A, B, C, D, E, F>(pub A, pub B, pub C, pub D, pub E, pub F);Expand description
Wrapper for 6 typed arguments, enabling multi-arg serialization.
Tuple Fields§
§0: A§1: B§2: C§3: D§4: E§5: FTrait Implementations§
Source§impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for MultiArgs6<A, B, C, D, E, F>
impl<A: Clone, B: Clone, C: Clone, D: Clone, E: Clone, F: Clone> Clone for MultiArgs6<A, B, C, D, E, F>
Source§fn clone(&self) -> MultiArgs6<A, B, C, D, E, F>
fn clone(&self) -> MultiArgs6<A, B, C, D, E, F>
Returns a duplicate 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<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug> Debug for MultiArgs6<A, B, C, D, E, F>
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug> Debug for MultiArgs6<A, B, C, D, E, F>
Source§impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for MultiArgs6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for MultiArgs6<A, B, C, D, E, F>
Source§fn from(t: (A, B, C, D, E, F)) -> Self
fn from(t: (A, B, C, D, E, F)) -> Self
Converts to this type from the input type.
Source§impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq> PartialEq for MultiArgs6<A, B, C, D, E, F>
impl<A: PartialEq, B: PartialEq, C: PartialEq, D: PartialEq, E: PartialEq, F: PartialEq> PartialEq for MultiArgs6<A, B, C, D, E, F>
Source§fn eq(&self, other: &MultiArgs6<A, B, C, D, E, F>) -> bool
fn eq(&self, other: &MultiArgs6<A, B, C, D, E, F>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<A, B, C, D, E, F> TemporalDeserializable for MultiArgs6<A, B, C, D, E, F>where
A: TemporalDeserializable + 'static,
B: TemporalDeserializable + 'static,
C: TemporalDeserializable + 'static,
D: TemporalDeserializable + 'static,
E: TemporalDeserializable + 'static,
F: TemporalDeserializable + 'static,
impl<A, B, C, D, E, F> TemporalDeserializable for MultiArgs6<A, B, C, D, E, F>where
A: TemporalDeserializable + 'static,
B: TemporalDeserializable + 'static,
C: TemporalDeserializable + 'static,
D: TemporalDeserializable + 'static,
E: TemporalDeserializable + 'static,
F: TemporalDeserializable + 'static,
Source§fn from_payload(
_: &SerializationContext<'_>,
_: Payload,
) -> Result<Self, PayloadConversionError>
fn from_payload( _: &SerializationContext<'_>, _: Payload, ) -> Result<Self, PayloadConversionError>
Deserialize from a single
Payload.Source§fn from_payloads(
ctx: &SerializationContext<'_>,
payloads: Vec<Payload>,
) -> Result<Self, PayloadConversionError>
fn from_payloads( ctx: &SerializationContext<'_>, payloads: Vec<Payload>, ) -> Result<Self, PayloadConversionError>
Convert from multiple payloads. Override this for types representing multiple arguments.
Source§fn from_serde(
_: &dyn ErasedSerdePayloadConverter,
_ctx: &SerializationContext<'_>,
_: Payload,
) -> Result<Self, PayloadConversionError>
fn from_serde( _: &dyn ErasedSerdePayloadConverter, _ctx: &SerializationContext<'_>, _: Payload, ) -> Result<Self, PayloadConversionError>
Deserialize from a serde-based payload converter.
Source§impl<A, B, C, D, E, F> TemporalSerializable for MultiArgs6<A, B, C, D, E, F>where
A: TemporalSerializable + 'static,
B: TemporalSerializable + 'static,
C: TemporalSerializable + 'static,
D: TemporalSerializable + 'static,
E: TemporalSerializable + 'static,
F: TemporalSerializable + 'static,
impl<A, B, C, D, E, F> TemporalSerializable for MultiArgs6<A, B, C, D, E, F>where
A: TemporalSerializable + 'static,
B: TemporalSerializable + 'static,
C: TemporalSerializable + 'static,
D: TemporalSerializable + 'static,
E: TemporalSerializable + 'static,
F: TemporalSerializable + 'static,
Source§fn to_payload(
&self,
_: &SerializationContext<'_>,
) -> Result<Payload, PayloadConversionError>
fn to_payload( &self, _: &SerializationContext<'_>, ) -> Result<Payload, PayloadConversionError>
Convert this value into a single
Payload.Source§fn to_payloads(
&self,
ctx: &SerializationContext<'_>,
) -> Result<Vec<Payload>, PayloadConversionError>
fn to_payloads( &self, ctx: &SerializationContext<'_>, ) -> Result<Vec<Payload>, PayloadConversionError>
Convert to multiple payloads. Override this for types representing multiple arguments.
impl<A: Eq, B: Eq, C: Eq, D: Eq, E: Eq, F: Eq> Eq for MultiArgs6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> StructuralPartialEq for MultiArgs6<A, B, C, D, E, F>
Auto Trait Implementations§
impl<A, B, C, D, E, F> Freeze for MultiArgs6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> RefUnwindSafe for MultiArgs6<A, B, C, D, E, F>where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
F: RefUnwindSafe,
impl<A, B, C, D, E, F> Send for MultiArgs6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> Sync for MultiArgs6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> Unpin for MultiArgs6<A, B, C, D, E, F>
impl<A, B, C, D, E, F> UnsafeUnpin for MultiArgs6<A, B, C, D, E, F>where
A: UnsafeUnpin,
B: UnsafeUnpin,
C: UnsafeUnpin,
D: UnsafeUnpin,
E: UnsafeUnpin,
F: UnsafeUnpin,
impl<A, B, C, D, E, F> UnwindSafe for MultiArgs6<A, B, C, D, E, F>
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request