pub struct GetVariableResult {
pub attribute_status: GetVariableStatusEnum,
pub attribute_status_info: Option<StatusInfo>,
pub attribute_type: Option<AttributeEnum>,
pub attribute_value: Option<String>,
pub component: Component,
pub variable: Variable,
pub custom_data: Option<CustomData>,
}Expand description
Class to hold results of GetVariables request.
Fields§
§attribute_status: GetVariableStatusEnum§attribute_status_info: Option<StatusInfo>§attribute_type: Option<AttributeEnum>§attribute_value: Option<String>Value of requested attribute type of component-variable. This field can only be empty when the given status is NOT accepted. The Configuration Variable <<configkey-reporting-value-size,ReportingValueSize>> can be used to limit GetVariableResult.attributeValue, VariableAttribute.value and EventData.actualValue. The max size of these values will always remain equal.
component: Component§variable: Variable§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for GetVariableResult
impl Clone for GetVariableResult
Source§impl Debug for GetVariableResult
impl Debug for GetVariableResult
Source§impl<'de> Deserialize<'de> for GetVariableResult
impl<'de> Deserialize<'de> for GetVariableResult
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 PartialEq for GetVariableResult
impl PartialEq for GetVariableResult
Source§impl Serialize for GetVariableResult
impl Serialize for GetVariableResult
impl StructuralPartialEq for GetVariableResult
Auto Trait Implementations§
impl Freeze for GetVariableResult
impl RefUnwindSafe for GetVariableResult
impl Send for GetVariableResult
impl Sync for GetVariableResult
impl Unpin for GetVariableResult
impl UnsafeUnpin for GetVariableResult
impl UnwindSafe for GetVariableResult
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