pub struct DeclaringVersion {
pub content_hash: String,
pub workflow_types: Vec<String>,
pub route_active: bool,
pub body: usize,
}Expand description
One retained package version that declares a body for the ambiguous action, carrying enough identity to be named in a command the operator can run.
Fields§
§content_hash: StringContent hash of the package version, in the canonical 64-character form. Never abbreviated: the deploy API parses the whole hash and refuses a short one, so a truncated hash would print a command that cannot run.
workflow_types: Vec<String>Every workflow type this exact version implements, sorted. Unload is
keyed by (workflow_type, content_hash), so a package archive carrying
several entry modules needs one command per type.
route_active: boolWhether new starts still route to this version. A route-active version cannot be unloaded, so it is the one the operator keeps.
body: usizeWhich distinct body this version declares, as an index into the order the bodies were first seen. Versions sharing an index agree.
Trait Implementations§
Source§impl Clone for DeclaringVersion
impl Clone for DeclaringVersion
Source§fn clone(&self) -> DeclaringVersion
fn clone(&self) -> DeclaringVersion
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 DeclaringVersion
impl Debug for DeclaringVersion
impl Eq for DeclaringVersion
Source§impl PartialEq for DeclaringVersion
impl PartialEq for DeclaringVersion
impl StructuralPartialEq for DeclaringVersion
Auto Trait Implementations§
impl Freeze for DeclaringVersion
impl RefUnwindSafe for DeclaringVersion
impl Send for DeclaringVersion
impl Sync for DeclaringVersion
impl Unpin for DeclaringVersion
impl UnsafeUnpin for DeclaringVersion
impl UnwindSafe for DeclaringVersion
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request