pub struct Property { /* private fields */ }
Expand description
key-value pairs inside of Component
s
Implementations
sourceimpl Property
impl Property
sourcepub fn value_type(&self) -> Option<ValueType>
pub fn value_type(&self) -> Option<ValueType>
Returns the VALUE
parameter, if any is specified.
sourcepub fn append_parameter<I: Into<Parameter>>(
&mut self,
into_parameter: I
) -> &mut Self
pub fn append_parameter<I: Into<Parameter>>(
&mut self,
into_parameter: I
) -> &mut Self
Appends a new parameter.
sourcepub fn add_parameter(&mut self, key: &str, val: &str) -> &mut Self
pub fn add_parameter(&mut self, key: &str, val: &str) -> &mut Self
Creates and appends a parameter.
Trait Implementations
sourceimpl From<EventStatus> for Property
impl From<EventStatus> for Property
sourcefn from(val: EventStatus) -> Self
fn from(val: EventStatus) -> Self
Converts to this type from the input type.
sourceimpl From<TodoStatus> for Property
impl From<TodoStatus> for Property
sourcefn from(val: TodoStatus) -> Self
fn from(val: TodoStatus) -> Self
Converts to this type from the input type.
impl Eq for Property
impl StructuralEq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more