Struct pbcodec::fields::Oneof7
[−]
[src]
pub struct Oneof7<A, B, C, D, E, F, G> { pub field: Option<Variant7<A, B, C, D, E, F, G>>, }
Fields
field: Option<Variant7<A, B, C, D, E, F, G>>
Trait Implementations
impl<A: Debug, B: Debug, C: Debug, D: Debug, E: Debug, F: Debug, G: Debug> Debug for Oneof7<A, B, C, D, E, F, G>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<A, B, C, D, E, F, G> Field for Oneof7<A, B, C, D, E, F, G> where
A: SingularField,
B: SingularField,
C: SingularField,
D: SingularField,
E: SingularField,
F: SingularField,
G: SingularField,
[src]
A: SingularField,
B: SingularField,
C: SingularField,
D: SingularField,
E: SingularField,
F: SingularField,
G: SingularField,
impl<A, B, C, D, E, F, G> From<Variant7<A, B, C, D, E, F, G>> for Oneof7<A, B, C, D, E, F, G>
[src]
impl<A, B, C, D, E, F, G> From<Option<Variant7<A, B, C, D, E, F, G>>> for Oneof7<A, B, C, D, E, F, G>
[src]
impl<A, B, C, D, E, F, G> Default for Oneof7<A, B, C, D, E, F, G>
[src]
impl<R, A, B, C, D, E, F, G> DecodeField<R> for Oneof7<A, B, C, D, E, F, G> where
R: Read,
A: DecodeField<R> + SingularField,
B: DecodeField<R> + SingularField,
C: DecodeField<R> + SingularField,
D: DecodeField<R> + SingularField,
E: DecodeField<R> + SingularField,
F: DecodeField<R> + SingularField,
G: DecodeField<R> + SingularField,
[src]
R: Read,
A: DecodeField<R> + SingularField,
B: DecodeField<R> + SingularField,
C: DecodeField<R> + SingularField,
D: DecodeField<R> + SingularField,
E: DecodeField<R> + SingularField,
F: DecodeField<R> + SingularField,
G: DecodeField<R> + SingularField,
type Future = DecodeOneof7<R, A, B, C, D, E, F, G>
fn is_target(tag: u32) -> bool
[src]
fn decode_field(
self,
reader: R,
tag: u32,
wire_type: WireType
) -> Result<Self::Future, Error<R>>
[src]
self,
reader: R,
tag: u32,
wire_type: WireType
) -> Result<Self::Future, Error<R>>
impl<W, A, B, C, D, E, F, G> Encode<W> for Oneof7<A, B, C, D, E, F, G> where
W: Write,
A: Encode<W> + SingularField,
B: Encode<W> + SingularField,
C: Encode<W> + SingularField,
D: Encode<W> + SingularField,
E: Encode<W> + SingularField,
F: Encode<W> + SingularField,
G: Encode<W> + SingularField,
[src]
W: Write,
A: Encode<W> + SingularField,
B: Encode<W> + SingularField,
C: Encode<W> + SingularField,
D: Encode<W> + SingularField,
E: Encode<W> + SingularField,
F: Encode<W> + SingularField,
G: Encode<W> + SingularField,