Enum pbjson_types::Syntax [−][src]
#[repr(i32)]
pub enum Syntax {
Proto2,
Proto3,
}Variants
Implementations
Trait Implementations
impl<'de> Deserialize<'de> for Syntax
impl<'de> Deserialize<'de> for Syntax
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Syntax
impl UnwindSafe for Syntax
Blanket Implementations
Mutably borrows from an owned value. Read more