pub struct DirectiveIssue {
pub directive_id: String,
pub kind: DirectiveKind,
pub subject: String,
pub version: u64,
pub slot: Option<String>,
pub worker_id: Option<String>,
pub task_id: Option<String>,
pub vault_id: String,
pub digest: String,
pub brief_sha256: Option<String>,
pub goal_sha256: Option<String>,
pub text: String,
}Expand description
A directive to issue, as the Cloud relay builds it.
Fields§
§directive_id: String§kind: DirectiveKind§subject: String§version: u64§slot: Option<String>§worker_id: Option<String>§task_id: Option<String>§vault_id: String§digest: String§brief_sha256: Option<String>The slot’s signed brief_sha256; None for a plan-wide directive
and a decision.
goal_sha256: Option<String>The digest of the verified body’s goal; None for a decision.
text: StringThe bus text of a decision. A plan’s entry is built at release from
the confirmed ReleaseBody instead.
Trait Implementations§
Source§impl Clone for DirectiveIssue
impl Clone for DirectiveIssue
Source§fn clone(&self) -> DirectiveIssue
fn clone(&self) -> DirectiveIssue
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 DirectiveIssue
impl Debug for DirectiveIssue
impl Eq for DirectiveIssue
Source§impl PartialEq for DirectiveIssue
impl PartialEq for DirectiveIssue
impl StructuralPartialEq for DirectiveIssue
Auto Trait Implementations§
impl Forget for DirectiveIssue
impl Freeze for DirectiveIssue
impl Move for DirectiveIssue
impl RefUnwindSafe for DirectiveIssue
impl Send for DirectiveIssuewhere
RawVecInner: Send,
impl Sync for DirectiveIssuewhere
RawVecInner: Sync,
impl Unpin for DirectiveIssue
impl UnsafeUnpin for DirectiveIssue
impl UnwindSafe for DirectiveIssuewhere
RawVecInner: UnwindSafe,
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
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
Compare self to
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more