[−][src]Struct pca9956b_api::models::LedInfo
Fields
index: Option<u32>
LED number
state: Option<LedState>
pwm: Option<u32>
PWM value, 0-255 inclusive
current: Option<u32>
current value
error: Option<LedError>
Implementations
impl LedInfo
[src]
Trait Implementations
impl Clone for LedInfo
[src]
impl Debug for LedInfo
[src]
impl<'de> Deserialize<'de> for LedInfo
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl FromIterator<LedInfo> for LedInfoArray
[src]
fn from_iter<U: IntoIterator<Item = LedInfo>>(u: U) -> Self
[src]
impl FromStr for LedInfo
[src]
Converts Query Parameters representation (style=form, explode=false) to a LedInfo 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.
fn from_str(s: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<LedInfo> for LedInfo
[src]
impl Serialize for LedInfo
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for LedInfo
[src]
impl ToString for LedInfo
[src]
Converts the LedInfo 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
impl RefUnwindSafe for LedInfo
impl Send for LedInfo
impl Sync for LedInfo
impl Unpin for LedInfo
impl UnwindSafe for LedInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,