pub struct StateVariable {
pub send_events: bool,
pub name: String,
pub data_type: String,
pub default_value: Option<String>,
pub allowed_values: Option<AllowedValue>,
}
Fields§
§send_events: bool
§name: String
§data_type: String
§default_value: Option<String>
§allowed_values: Option<AllowedValue>
Trait Implementations§
Source§impl Clone for StateVariable
impl Clone for StateVariable
Source§fn clone(&self) -> StateVariable
fn clone(&self) -> StateVariable
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StateVariable
impl Debug for StateVariable
Auto Trait Implementations§
impl Freeze for StateVariable
impl RefUnwindSafe for StateVariable
impl Send for StateVariable
impl Sync for StateVariable
impl Unpin for StateVariable
impl UnwindSafe for StateVariable
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more