pub struct DensorManifest {
pub pipeline_id: String,
pub densors: Vec<DensorEntry>,
pub authorities: Vec<AuthorityHash>,
}Expand description
A pipeline’s frozen manifest: the densors it carries + the authority allow-list its stages may cite.
Fields§
§pipeline_id: String§densors: Vec<DensorEntry>The complete frozen set of authorities any stage in this run is permitted to have been built against.
Implementations§
Source§impl DensorManifest
impl DensorManifest
Sourcepub fn validate(&self) -> Result<(), RuntimeError>
pub fn validate(&self) -> Result<(), RuntimeError>
Validate the manifest is well-formed: non-empty pipeline id, every densor identifiable, unique ids, and at least one frozen authority (a run with no authority anchor is not admissible). Pure; never mutates.
True iff authority is in the manifest’s frozen allow-list (matched by name AND digest).
Trait Implementations§
Source§impl Clone for DensorManifest
impl Clone for DensorManifest
Source§fn clone(&self) -> DensorManifest
fn clone(&self) -> DensorManifest
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 DensorManifest
impl Debug for DensorManifest
Source§impl<'de> Deserialize<'de> for DensorManifest
impl<'de> Deserialize<'de> for DensorManifest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DensorManifest
impl PartialEq for DensorManifest
Source§fn eq(&self, other: &DensorManifest) -> bool
fn eq(&self, other: &DensorManifest) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DensorManifest
impl Serialize for DensorManifest
impl Eq for DensorManifest
impl StructuralPartialEq for DensorManifest
Auto Trait Implementations§
impl Freeze for DensorManifest
impl RefUnwindSafe for DensorManifest
impl Send for DensorManifest
impl Sync for DensorManifest
impl Unpin for DensorManifest
impl UnsafeUnpin for DensorManifest
impl UnwindSafe for DensorManifest
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