Enum reproto_core::RpType [] [src]

pub enum RpType {
    Double,
    Float,
    Signed {
        size: usize,
    },
    Unsigned {
        size: usize,
    },
    Boolean,
    String,
    DateTime,
    Bytes,
    Any,
    Name {
        name: RpName,
    },
    Array {
        inner: Box<RpType>,
    },
    Map {
        key: Box<RpType>,
        value: Box<RpType>,
    },
}

Variants

Fields of Signed

Fields of Unsigned

ISO-8601 datetime

Fields of Name

Fields of Array

Fields of Map

Methods

impl RpType
[src]

[src]

Convert to an enum variant type.

[src]

Localize type.

Strips version of any type which is not imported.

[src]

Strip version component for any type.

Trait Implementations

impl Debug for RpType
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for RpType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for RpType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for RpType
[src]

impl Display for RpType
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for RpType

impl Sync for RpType