pub struct VariableValueDto {
pub value: Option<Value>,
pub _type: Option<String>,
pub value_info: Option<HashMap<String, Value>>,
}Fields§
§value: Option<Value>The variable’s value. Value differs depending on the variable’s type and on the deserializeValues parameter.
_type: Option<String>The value type of the variable.
value_info: Option<HashMap<String, Value>>A JSON object containing additional, value-type-dependent properties. For serialized variables of type Object, the following properties can be provided: * objectTypeName: A string representation of the object’s type name. * serializationDataFormat: The serialization format used to store the variable. For serialized variables of type File, the following properties can be provided: * filename: The name of the file. This is not the variable name but the name that will be used when downloading the file again. * mimetype: The MIME type of the file that is being uploaded. * encoding: The encoding of the file that is being uploaded.
Implementations§
Source§impl VariableValueDto
impl VariableValueDto
pub fn new() -> VariableValueDto
Trait Implementations§
Source§impl Clone for VariableValueDto
impl Clone for VariableValueDto
Source§fn clone(&self) -> VariableValueDto
fn clone(&self) -> VariableValueDto
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for VariableValueDto
impl Debug for VariableValueDto
Source§impl<'de> Deserialize<'de> for VariableValueDto
impl<'de> Deserialize<'de> for VariableValueDto
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>,
Source§impl PartialEq for VariableValueDto
impl PartialEq for VariableValueDto
Source§impl Serialize for VariableValueDto
impl Serialize for VariableValueDto
impl StructuralPartialEq for VariableValueDto
Auto Trait Implementations§
impl Freeze for VariableValueDto
impl RefUnwindSafe for VariableValueDto
impl Send for VariableValueDto
impl Sync for VariableValueDto
impl Unpin for VariableValueDto
impl UnwindSafe for VariableValueDto
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more