pub struct SwitchActivity {
pub control_activity: ControlActivity,
pub type_properties: SwitchActivityTypeProperties,
}Expand description
This activity evaluates an expression and executes activities under the cases property that correspond to the expression evaluation expected in the equals property.
Fields§
§control_activity: ControlActivity§type_properties: SwitchActivityTypePropertiesSwitch activity properties.
Implementations§
Source§impl SwitchActivity
impl SwitchActivity
pub fn new( control_activity: ControlActivity, type_properties: SwitchActivityTypeProperties, ) -> Self
Trait Implementations§
Source§impl Clone for SwitchActivity
impl Clone for SwitchActivity
Source§fn clone(&self) -> SwitchActivity
fn clone(&self) -> SwitchActivity
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 SwitchActivity
impl Debug for SwitchActivity
Source§impl<'de> Deserialize<'de> for SwitchActivity
impl<'de> Deserialize<'de> for SwitchActivity
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
Source§impl PartialEq for SwitchActivity
impl PartialEq for SwitchActivity
Source§impl Serialize for SwitchActivity
impl Serialize for SwitchActivity
impl StructuralPartialEq for SwitchActivity
Auto Trait Implementations§
impl Freeze for SwitchActivity
impl RefUnwindSafe for SwitchActivity
impl Send for SwitchActivity
impl Sync for SwitchActivity
impl Unpin for SwitchActivity
impl UnwindSafe for SwitchActivity
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