[][src]Struct woopsa::protocol::property::WoopsaProperty

pub struct WoopsaProperty {
    pub element: WoopsaElement,
    pub value: WoopsaValue,
    pub value_type: WoopsaValueType,
    pub readonly: bool,
}

Fields

element: WoopsaElementvalue: WoopsaValuevalue_type: WoopsaValueTypereadonly: bool

Methods

impl WoopsaProperty[src]

pub fn new_readonly(
    element_name: String,
    value: String,
    value_type: WoopsaValueType
) -> WoopsaProperty
[src]

pub fn new(
    element_name: String,
    value: String,
    value_type: WoopsaValueType
) -> WoopsaProperty
[src]

pub fn set_value(&mut self, value: String, value_type: WoopsaValueType)[src]

pub fn set_readonly(&mut self)[src]

pub fn set_read_write(&mut self)[src]

Trait Implementations

impl Property for WoopsaProperty[src]

impl Display for WoopsaProperty[src]

impl Serialize for WoopsaProperty[src]

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

Auto Trait Implementations

Blanket Implementations

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

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

impl<T> From<T> for T[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.

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

impl<T> Borrow<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]