pub struct ScriptDescriptorRef<'a> {
pub name: &'a str,
pub invoke: InvokeFn,
pub signature_json: &'a str,
pub signature_hash: u64,
}Expand description
Borrowed view of a registered script suitable for invocation.
Fields§
§name: &'a strRegistered script name (matches job script_name).
invoke: InvokeFnHandler function pointer collected from inventory or manual registration.
signature_json: &'a strJSON schema string for handler parameters (from chronon-macros when available).
signature_hash: u64Compile-time hash of the signature for drift detection.
Trait Implementations§
Source§impl<'a> Clone for ScriptDescriptorRef<'a>
impl<'a> Clone for ScriptDescriptorRef<'a>
Source§fn clone(&self) -> ScriptDescriptorRef<'a>
fn clone(&self) -> ScriptDescriptorRef<'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 ScriptDescriptorRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ScriptDescriptorRef<'a>
impl<'a> RefUnwindSafe for ScriptDescriptorRef<'a>
impl<'a> Send for ScriptDescriptorRef<'a>
impl<'a> Sync for ScriptDescriptorRef<'a>
impl<'a> Unpin for ScriptDescriptorRef<'a>
impl<'a> UnsafeUnpin for ScriptDescriptorRef<'a>
impl<'a> UnwindSafe for ScriptDescriptorRef<'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