pub struct IntegrationActionStep {
pub type: IntegrationActionStepType,
pub config: Option<Value>,
}Expand description
A single step in an integration action (post-install hook, validation hook, refresh-token override, custom flows). Steps run sequentially with a shared context.
Fields§
§type: IntegrationActionStepTypeStep kind: * request — perform an HTTP call (config matches IntegrationResourceMethod). * transform — apply a JSONata expression over the running context. * update_context / set_context — write into the shared step context. * get_context — read from the shared step context. * form — pause and ask the connected user to fill a form (post-connect form).
config: Option<Value>Step-specific configuration. For request, accepts the same shape as IntegrationResourceMethod. For transform, a JSONata expression string. For form, a fields array.
Trait Implementations§
Source§impl Clone for IntegrationActionStep
impl Clone for IntegrationActionStep
Source§impl Debug for IntegrationActionStep
impl Debug for IntegrationActionStep
Source§impl Default for IntegrationActionStep
impl Default for IntegrationActionStep
Source§impl<'de> Deserialize<'de> for IntegrationActionStepwhere
IntegrationActionStep: Default,
impl<'de> Deserialize<'de> for IntegrationActionStepwhere
IntegrationActionStep: Default,
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 IntegrationActionStep
impl PartialEq for IntegrationActionStep
Source§impl Serialize for IntegrationActionStep
impl Serialize for IntegrationActionStep
impl StructuralPartialEq for IntegrationActionStep
Auto Trait Implementations§
impl Freeze for IntegrationActionStep
impl RefUnwindSafe for IntegrationActionStep
impl Send for IntegrationActionStep
impl Sync for IntegrationActionStep
impl Unpin for IntegrationActionStep
impl UnsafeUnpin for IntegrationActionStep
impl UnwindSafe for IntegrationActionStep
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