[−][src]Struct woopsa::protocol::property::WoopsaProperty
Fields
element: WoopsaElement
value: WoopsaValue
value_type: WoopsaValueType
readonly: bool
Methods
impl WoopsaProperty
[src]
pub fn new_readonly(
element_name: String,
value: String,
value_type: WoopsaValueType
) -> WoopsaProperty
[src]
element_name: String,
value: String,
value_type: WoopsaValueType
) -> WoopsaProperty
pub fn new(
element_name: String,
value: String,
value_type: WoopsaValueType
) -> WoopsaProperty
[src]
element_name: String,
value: String,
value_type: WoopsaValueType
) -> WoopsaProperty
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]
fn type_of(&self) -> &'static str
[src]
fn name(&self) -> String
[src]
fn is_read_only(&self) -> bool
[src]
impl Display for WoopsaProperty
[src]
impl Serialize for WoopsaProperty
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for WoopsaProperty
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Unpin for WoopsaProperty
impl Sync for WoopsaProperty
impl Send for WoopsaProperty
impl UnwindSafe for WoopsaProperty
impl RefUnwindSafe for WoopsaProperty
Blanket Implementations
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,