[][src]Struct conjure_codegen::example_types::product::invalid_type_definition::InvalidTypeDefinition

pub struct InvalidTypeDefinition { /* fields omitted */ }

Invalid Conjure type definition.

Methods

impl InvalidTypeDefinition[src]

pub fn new<T, U>(type_name: T, type_def: U) -> InvalidTypeDefinition where
    T: Into<String>,
    U: Serialize
[src]

Constructs a new instance of the type.

pub fn builder() -> Builder[src]

Returns a new builder.

pub fn type_name(&self) -> &str[src]

pub fn type_def(&self) -> &Value[src]

Trait Implementations

impl From<InvalidTypeDefinition> for Builder[src]

impl Clone for InvalidTypeDefinition[src]

impl Eq for InvalidTypeDefinition[src]

impl Ord for InvalidTypeDefinition[src]

impl PartialEq<InvalidTypeDefinition> for InvalidTypeDefinition[src]

impl PartialOrd<InvalidTypeDefinition> for InvalidTypeDefinition[src]

impl Debug for InvalidTypeDefinition[src]

impl Hash for InvalidTypeDefinition[src]

impl StructuralPartialEq for InvalidTypeDefinition[src]

impl StructuralEq for InvalidTypeDefinition[src]

impl Serialize for InvalidTypeDefinition[src]

impl<'de> Deserialize<'de> for InvalidTypeDefinition[src]

impl ErrorType for InvalidTypeDefinition[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]