Struct pbcodec::fields::Oneof4 [] [src]

pub struct Oneof4<A, B, C, D> {
    pub field: Option<Variant4<A, B, C, D>>,
}

Fields

Trait Implementations

impl<A: Debug, B: Debug, C: Debug, D: Debug> Debug for Oneof4<A, B, C, D>
[src]

Formats the value using the given formatter.

impl<A, B, C, D> Field for Oneof4<A, B, C, D> where
    A: SingularField,
    B: SingularField,
    C: SingularField,
    D: SingularField
[src]

impl<A, B, C, D> From<Variant4<A, B, C, D>> for Oneof4<A, B, C, D>
[src]

Performs the conversion.

impl<A, B, C, D> From<Option<Variant4<A, B, C, D>>> for Oneof4<A, B, C, D>
[src]

Performs the conversion.

impl<A, B, C, D> Default for Oneof4<A, B, C, D>
[src]

Returns the "default value" for a type. Read more

impl<R, A, B, C, D> DecodeField<R> for Oneof4<A, B, C, D> where
    R: Read,
    A: DecodeField<R> + SingularField,
    B: DecodeField<R> + SingularField,
    C: DecodeField<R> + SingularField,
    D: DecodeField<R> + SingularField
[src]

impl<W, A, B, C, D> Encode<W> for Oneof4<A, B, C, D> where
    W: Write,
    A: Encode<W> + SingularField,
    B: Encode<W> + SingularField,
    C: Encode<W> + SingularField,
    D: Encode<W> + SingularField
[src]