Struct pbcodec::fields::Oneof3 [] [src]

pub struct Oneof3<A, B, C> {
    pub field: Option<Variant3<A, B, C>>,
}

Fields

Trait Implementations

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

[src]

Formats the value using the given formatter. Read more

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

impl<A, B, C> From<Variant3<A, B, C>> for Oneof3<A, B, C>
[src]

[src]

Performs the conversion.

impl<A, B, C> From<Option<Variant3<A, B, C>>> for Oneof3<A, B, C>
[src]

[src]

Performs the conversion.

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

[src]

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

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

[src]

[src]

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

[src]

[src]

Auto Trait Implementations

impl<A, B, C> Send for Oneof3<A, B, C> where
    A: Send,
    B: Send,
    C: Send

impl<A, B, C> Sync for Oneof3<A, B, C> where
    A: Sync,
    B: Sync,
    C: Sync