pub enum MultipartCondition {
Or {
OR: Vec<HashMap<String, String>>,
},
And {
AND: Vec<HashMap<String, String>>,
},
Simple(HashMap<String, String>),
}Expand description
Multipart condition for when a case applies.
Variants§
Or
OR condition: any of the sub-conditions must match.
And
AND condition: all of the sub-conditions must match.
Simple(HashMap<String, String>)
Simple condition: all properties must match.
Implementations§
Trait Implementations§
Source§impl Clone for MultipartCondition
impl Clone for MultipartCondition
Source§fn clone(&self) -> MultipartCondition
fn clone(&self) -> MultipartCondition
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 MultipartCondition
impl Debug for MultipartCondition
Source§impl<'de> Deserialize<'de> for MultipartCondition
impl<'de> Deserialize<'de> for MultipartCondition
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 MultipartCondition
impl RefUnwindSafe for MultipartCondition
impl Send for MultipartCondition
impl Sync for MultipartCondition
impl Unpin for MultipartCondition
impl UnwindSafe for MultipartCondition
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