pub struct ReleaseRecord {
pub run: RunId,
pub releaser: String,
pub basis: String,
pub destination: String,
pub fields: Vec<String>,
pub evidence: Vec<String>,
pub value: Digest,
}Expand description
One journaled decision to improve a label.
Fields§
§run: RunId§releaser: StringThe agent or operator the decision was recorded against.
basis: StringWhy, in the releaser’s own words.
destination: StringWhere the value was being released to. A release is always toward something; one with no destination is a permission with no boundary.
fields: Vec<String>Which fields moved — "" for the whole value.
evidence: Vec<String>What was cited. An empty set is impossible: Release::validate refuses
it, and this being non-empty is that rule observed from the outside.
value: DigestThe digest of the value that was released, so a reader can tie the decision to the bytes rather than to a description of them.
Trait Implementations§
Source§impl Clone for ReleaseRecord
impl Clone for ReleaseRecord
Source§impl Debug for ReleaseRecord
impl Debug for ReleaseRecord
impl Eq for ReleaseRecord
Source§impl PartialEq for ReleaseRecord
impl PartialEq for ReleaseRecord
Source§impl Serialize for ReleaseRecord
impl Serialize for ReleaseRecord
impl StructuralPartialEq for ReleaseRecord
Auto Trait Implementations§
impl Freeze for ReleaseRecord
impl RefUnwindSafe for ReleaseRecord
impl Send for ReleaseRecord
impl Sync for ReleaseRecord
impl Unpin for ReleaseRecord
impl UnsafeUnpin for ReleaseRecord
impl UnwindSafe for ReleaseRecord
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<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 moreCreates a shared type from an unshared type.