pub struct DeployedWorkerContract {
pub package_version: ContentHash,
pub contract: WorkerContract,
pub workflow_types: Vec<String>,
pub route_active: bool,
}Expand description
One queue contract retained under an exact .v4 package identity.
Content-hash namespacing means several versions of the same logical package are retained side by side, so a queue’s retained contracts are a SET, not a single current shape. Whether any given one still binds a registering worker depends on reachability, which is why the record carries the routing and membership facts the admission gate decides on rather than the contract alone.
Fields§
§package_version: ContentHashExact package identity requiring the queue surface.
contract: WorkerContractQueue-scoped action declarations from the durable contract record.
workflow_types: Vec<String>Every workflow type this exact package version implements, sorted. A package archive can carry several entry modules, and each is a distinct catalog entry under the SAME content hash.
route_active: boolWhether any of those workflow types currently routes new starts at this version. A route-active version can be started at any moment, so it always binds a registering worker.
Trait Implementations§
Source§impl Clone for DeployedWorkerContract
impl Clone for DeployedWorkerContract
Source§fn clone(&self) -> DeployedWorkerContract
fn clone(&self) -> DeployedWorkerContract
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DeployedWorkerContract
impl Debug for DeployedWorkerContract
impl Eq for DeployedWorkerContract
Source§impl PartialEq for DeployedWorkerContract
impl PartialEq for DeployedWorkerContract
impl StructuralPartialEq for DeployedWorkerContract
Auto Trait Implementations§
impl Freeze for DeployedWorkerContract
impl RefUnwindSafe for DeployedWorkerContract
impl Send for DeployedWorkerContract
impl Sync for DeployedWorkerContract
impl Unpin for DeployedWorkerContract
impl UnsafeUnpin for DeployedWorkerContract
impl UnwindSafe for DeployedWorkerContract
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.