pub struct BpmnDelegateBinding {
pub path: String,
pub key_kind: DelegateKeyKind,
pub delegate_key: String,
pub kind: DelegateBindingKind,
pub script_path: Option<String>,
pub reason: Option<String>,
pub outputs: Option<Option<Value>>,
pub exception_map: Option<Option<Value>>,
pub summary: String,
pub extra_perms: HashMap<String, bool>,
pub edited_by: String,
pub edited_at: String,
}Expand description
BpmnDelegateBinding : A delegate key mapped to an Orvanta script. delegate_key is opaque and compared byte-for-byte; it is never interpreted as a class name, a path or a URL. path — not the key — is the ACL anchor that RLS and ownership checks are evaluated against.
Fields§
§path: String§key_kind: DelegateKeyKind§delegate_key: String§kind: DelegateBindingKind§script_path: Option<String>Present iff kind is script.
reason: Option<String>Present iff kind is noop or fail; required there.
outputs: Option<Option<Value>>#635 ParamMapping — how the result lands in process variables.
exception_map: Option<Option<Value>>mapException as a catch-all.
summary: String§extra_perms: HashMap<String, bool>§edited_by: String§edited_at: StringImplementations§
Source§impl BpmnDelegateBinding
impl BpmnDelegateBinding
Sourcepub fn new(
path: String,
key_kind: DelegateKeyKind,
delegate_key: String,
kind: DelegateBindingKind,
summary: String,
extra_perms: HashMap<String, bool>,
edited_by: String,
edited_at: String,
) -> BpmnDelegateBinding
pub fn new( path: String, key_kind: DelegateKeyKind, delegate_key: String, kind: DelegateBindingKind, summary: String, extra_perms: HashMap<String, bool>, edited_by: String, edited_at: String, ) -> BpmnDelegateBinding
A delegate key mapped to an Orvanta script. delegate_key is opaque and compared byte-for-byte; it is never interpreted as a class name, a path or a URL. path — not the key — is the ACL anchor that RLS and ownership checks are evaluated against.
Trait Implementations§
Source§impl Clone for BpmnDelegateBinding
impl Clone for BpmnDelegateBinding
Source§fn clone(&self) -> BpmnDelegateBinding
fn clone(&self) -> BpmnDelegateBinding
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 BpmnDelegateBinding
impl Debug for BpmnDelegateBinding
Source§impl Default for BpmnDelegateBinding
impl Default for BpmnDelegateBinding
Source§fn default() -> BpmnDelegateBinding
fn default() -> BpmnDelegateBinding
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BpmnDelegateBinding
impl<'de> Deserialize<'de> for BpmnDelegateBinding
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 BpmnDelegateBinding
impl PartialEq for BpmnDelegateBinding
Source§impl Serialize for BpmnDelegateBinding
impl Serialize for BpmnDelegateBinding
impl StructuralPartialEq for BpmnDelegateBinding
Auto Trait Implementations§
impl Freeze for BpmnDelegateBinding
impl RefUnwindSafe for BpmnDelegateBinding
impl Send for BpmnDelegateBinding
impl Sync for BpmnDelegateBinding
impl Unpin for BpmnDelegateBinding
impl UnsafeUnpin for BpmnDelegateBinding
impl UnwindSafe for BpmnDelegateBinding
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