pub struct ConnectorRef<'a> {
pub workflow_id: &'a str,
pub task_id: &'a str,
pub function: &'a str,
pub connector: &'a str,
pub config: &'a FunctionConfig,
}Expand description
One task’s connector reference, located within a workflow.
Copy: every field is a shared borrow. config is carried so callers can
apply cross-field rules — “a task on this kind of connector also needs
input.database” — without re-parsing the task.
Not Serialize: FunctionConfig is deserialize-only, so callers that emit
JSON diagnostics build their own shape from these fields.
Fields§
§workflow_id: &'a strid of the owning workflow.
task_id: &'a strid of the referencing task.
function: &'a strCanonical function name, as FunctionConfig::function_name.
connector: &'a strThe connector name, exactly as authored.
config: &'a FunctionConfigThe whole function config, for cross-field rules.
Trait Implementations§
Source§impl<'a> Clone for ConnectorRef<'a>
impl<'a> Clone for ConnectorRef<'a>
Source§fn clone(&self) -> ConnectorRef<'a>
fn clone(&self) -> ConnectorRef<'a>
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 moreimpl<'a> Copy for ConnectorRef<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for ConnectorRef<'a>
impl<'a> !UnwindSafe for ConnectorRef<'a>
impl<'a> Freeze for ConnectorRef<'a>
impl<'a> Send for ConnectorRef<'a>
impl<'a> Sync for ConnectorRef<'a>
impl<'a> Unpin for ConnectorRef<'a>
impl<'a> UnsafeUnpin for ConnectorRef<'a>
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