pub struct MultipartCase {
pub when: Option<MultipartCondition>,
pub apply: ApplyValue,
}Expand description
A multipart case with optional condition.
Fields§
§when: Option<MultipartCondition>Condition for when this case applies.
apply: ApplyValueModel(s) to apply when condition is met.
Trait Implementations§
Source§impl Clone for MultipartCase
impl Clone for MultipartCase
Source§fn clone(&self) -> MultipartCase
fn clone(&self) -> MultipartCase
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 MultipartCase
impl Debug for MultipartCase
Source§impl<'de> Deserialize<'de> for MultipartCase
impl<'de> Deserialize<'de> for MultipartCase
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
Auto Trait Implementations§
impl Freeze for MultipartCase
impl RefUnwindSafe for MultipartCase
impl Send for MultipartCase
impl Sync for MultipartCase
impl Unpin for MultipartCase
impl UnwindSafe for MultipartCase
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