pub struct TriggerBinding {
pub agent_id: String,
pub workspace_id: Option<String>,
pub entry_point_id: String,
pub trigger: WorkflowTrigger,
}Expand description
What a registry hit resolves to.
workspace_id is the tenant the agent belongs to (cloud); None
for OSS / single-tenant deployments. The webhook / scheduler /
event dispatchers use it to set the task-local workspace context
before spawning the run.
Fields§
§agent_id: String§workspace_id: Option<String>§entry_point_id: String§trigger: WorkflowTriggerTrait Implementations§
Source§impl Clone for TriggerBinding
impl Clone for TriggerBinding
Source§fn clone(&self) -> TriggerBinding
fn clone(&self) -> TriggerBinding
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TriggerBinding
impl Debug for TriggerBinding
Source§impl PartialEq for TriggerBinding
impl PartialEq for TriggerBinding
Source§fn eq(&self, other: &TriggerBinding) -> bool
fn eq(&self, other: &TriggerBinding) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TriggerBinding
Auto Trait Implementations§
impl Freeze for TriggerBinding
impl RefUnwindSafe for TriggerBinding
impl Send for TriggerBinding
impl Sync for TriggerBinding
impl Unpin for TriggerBinding
impl UnsafeUnpin for TriggerBinding
impl UnwindSafe for TriggerBinding
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