[][src]Struct i2cbus_api::models::I2cBusError

pub struct I2cBusError {
    pub error: Option<i32>,
    pub description: Option<String>,
}

Fields

error: Option<i32>description: Option<String>

Implementations

impl I2cBusError[src]

pub fn new() -> I2cBusError[src]

Trait Implementations

impl Clone for I2cBusError[src]

impl Debug for I2cBusError[src]

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

impl FromStr for I2cBusError[src]

Converts Query Parameters representation (style=form, explode=false) to a I2cBusError value as specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde deserializer

type Err = String

The associated error which can be returned from parsing.

impl PartialEq<I2cBusError> for I2cBusError[src]

impl Serialize for I2cBusError[src]

impl StructuralPartialEq for I2cBusError[src]

impl ToString for I2cBusError[src]

Converts the I2cBusError value to the Query Parameters representation (style=form, explode=false) specified in https://swagger.io/docs/specification/serialization/ Should be implemented in a serde serializer

Auto Trait Implementations

Blanket Implementations

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

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

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

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

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

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

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.