pub struct SetVariableData<CustomDataType = NoCustomData> {
pub attribute_type: Option<AttributeEnum>,
pub attribute_value: String,
pub component: Component<CustomDataType>,
pub custom_data: Option<CustomDataType>,
pub variable: Variable<CustomDataType>,
}Fields§
§attribute_type: Option<AttributeEnum>§attribute_value: StringValue to be assigned to attribute of variable.
The Configuration Variable <<configkey-configuration-value-size,ConfigurationValueSize>> can be used to limit SetVariableData.attributeValue and VariableCharacteristics.valueList. The max size of these values will always remain equal.
component: Component<CustomDataType>§custom_data: Option<CustomDataType>§variable: Variable<CustomDataType>Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for SetVariableData<CustomDataType>
impl<CustomDataType: Clone> Clone for SetVariableData<CustomDataType>
Source§fn clone(&self) -> SetVariableData<CustomDataType>
fn clone(&self) -> SetVariableData<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 SetVariableData<CustomDataType>
impl<CustomDataType: Debug> Debug for SetVariableData<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for SetVariableData<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for SetVariableData<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
impl<CustomDataType: Eq> Eq for SetVariableData<CustomDataType>
Source§impl<CustomDataType: PartialEq> PartialEq for SetVariableData<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for SetVariableData<CustomDataType>
Source§impl<CustomDataType> Serialize for SetVariableData<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for SetVariableData<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for SetVariableData<CustomDataType>
Source§impl<CustomDataType> Validate for SetVariableData<CustomDataType>
Available on crate features alloc and validate only.
impl<CustomDataType> Validate for SetVariableData<CustomDataType>
Available on crate features
alloc and validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for SetVariableData<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for SetVariableData<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for SetVariableData<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for SetVariableData<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for SetVariableData<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for SetVariableData<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for SetVariableData<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