pub struct StepDestination {
pub type: Type,
pub conditions: Option<Vec<BlockStartMessageConditionsInner>>,
pub step_name: String,
}Fields§
§type: Type§conditions: Option<Vec<BlockStartMessageConditionsInner>>This is an optional array of conditions that must be met for this destination to be triggered. If empty, this is the default destination that the step transfers to.
step_name: StringImplementations§
Source§impl StepDestination
impl StepDestination
pub fn new(type: Type, step_name: String) -> StepDestination
Trait Implementations§
Source§impl Clone for StepDestination
impl Clone for StepDestination
Source§fn clone(&self) -> StepDestination
fn clone(&self) -> StepDestination
Returns a copy 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 StepDestination
impl Debug for StepDestination
Source§impl Default for StepDestination
impl Default for StepDestination
Source§fn default() -> StepDestination
fn default() -> StepDestination
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StepDestination
impl<'de> Deserialize<'de> for StepDestination
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 OpenApi for StepDestination
impl OpenApi for StepDestination
Source§fn openapi() -> OpenApi
fn openapi() -> OpenApi
Return the
openapi::OpenApi instance which can be parsed with serde or served via
OpenAPI visualization tool such as Swagger UI.Source§impl PartialEq for StepDestination
impl PartialEq for StepDestination
Source§impl Serialize for StepDestination
impl Serialize for StepDestination
impl StructuralPartialEq for StepDestination
Auto Trait Implementations§
impl Freeze for StepDestination
impl RefUnwindSafe for StepDestination
impl Send for StepDestination
impl Sync for StepDestination
impl Unpin for StepDestination
impl UnwindSafe for StepDestination
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