pub struct GroupObjectConfig {
pub address: String,
pub name: String,
pub dpt: String,
pub flags: GroupObjectFlagsConfig,
pub initial_value: Option<Value>,
}Expand description
Group object configuration.
Fields§
§address: StringGroup address (e.g., “1/2/3”).
name: StringObject name.
dpt: StringDatapoint type (e.g., “DPT1.001”, “DPT9.001”).
flags: GroupObjectFlagsConfigObject flags.
initial_value: Option<Value>Initial value (JSON).
Trait Implementations§
Source§impl Clone for GroupObjectConfig
impl Clone for GroupObjectConfig
Source§fn clone(&self) -> GroupObjectConfig
fn clone(&self) -> GroupObjectConfig
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 GroupObjectConfig
impl Debug for GroupObjectConfig
Source§impl<'de> Deserialize<'de> for GroupObjectConfig
impl<'de> Deserialize<'de> for GroupObjectConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GroupObjectConfig
impl RefUnwindSafe for GroupObjectConfig
impl Send for GroupObjectConfig
impl Sync for GroupObjectConfig
impl Unpin for GroupObjectConfig
impl UnsafeUnpin for GroupObjectConfig
impl UnwindSafe for GroupObjectConfig
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