pub struct MonitoringData<CustomDataType = NoCustomData> {
pub component: Component<CustomDataType>,
pub custom_data: Option<CustomDataType>,
pub variable: Variable<CustomDataType>,
pub variable_monitoring: Vec<VariableMonitoring<CustomDataType>>,
}Expand description
Class to hold parameters of SetVariableMonitoring request.
Fields§
§component: Component<CustomDataType>§custom_data: Option<CustomDataType>§variable: Variable<CustomDataType>§variable_monitoring: Vec<VariableMonitoring<CustomDataType>>Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for MonitoringData<CustomDataType>
impl<CustomDataType: Clone> Clone for MonitoringData<CustomDataType>
Source§fn clone(&self) -> MonitoringData<CustomDataType>
fn clone(&self) -> MonitoringData<CustomDataType>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<CustomDataType: Debug> Debug for MonitoringData<CustomDataType>
impl<CustomDataType: Debug> Debug for MonitoringData<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for MonitoringData<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for MonitoringData<CustomDataType>where
CustomDataType: Deserialize<'de>,
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
Source§impl<CustomDataType: PartialEq> PartialEq for MonitoringData<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for MonitoringData<CustomDataType>
Source§impl<CustomDataType> Serialize for MonitoringData<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for MonitoringData<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for MonitoringData<CustomDataType>
Source§impl<CustomDataType> Validate for MonitoringData<CustomDataType>
Available on crate features alloc and validate only.
impl<CustomDataType> Validate for MonitoringData<CustomDataType>
Available on crate features
alloc and validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for MonitoringData<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for MonitoringData<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for MonitoringData<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for MonitoringData<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for MonitoringData<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for MonitoringData<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for MonitoringData<CustomDataType>where
CustomDataType: UnwindSafe,
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