pub struct MultiFormVariableBinaryDto {
pub data: Option<PathBuf>,
pub value_type: Option<ValueType>,
}Fields§
§data: Option<PathBuf>The binary data to be set. For File variables, this multipart can contain the filename, binary value and MIME type of the file variable to be set Only the filename is mandatory.
value_type: Option<ValueType>The name of the variable type. Either Bytes for a byte array variable or File for a file variable.
Implementations§
Source§impl MultiFormVariableBinaryDto
impl MultiFormVariableBinaryDto
pub fn new() -> MultiFormVariableBinaryDto
Trait Implementations§
Source§impl Clone for MultiFormVariableBinaryDto
impl Clone for MultiFormVariableBinaryDto
Source§fn clone(&self) -> MultiFormVariableBinaryDto
fn clone(&self) -> MultiFormVariableBinaryDto
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 MultiFormVariableBinaryDto
impl Debug for MultiFormVariableBinaryDto
Source§impl<'de> Deserialize<'de> for MultiFormVariableBinaryDto
impl<'de> Deserialize<'de> for MultiFormVariableBinaryDto
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 StructuralPartialEq for MultiFormVariableBinaryDto
Auto Trait Implementations§
impl Freeze for MultiFormVariableBinaryDto
impl RefUnwindSafe for MultiFormVariableBinaryDto
impl Send for MultiFormVariableBinaryDto
impl Sync for MultiFormVariableBinaryDto
impl Unpin for MultiFormVariableBinaryDto
impl UnwindSafe for MultiFormVariableBinaryDto
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
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>
Converts
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>
Converts
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