pub struct Admitted { /* private fields */ }Expand description
A manifest with a checked admission record. Only admit makes one, so
holding it is the statement that the checks of 3.1 ran.
Implementations§
Source§impl Admitted
impl Admitted
pub fn record(&self) -> &AdmissionRecord
Sourcepub fn id(&self) -> &ContentDigest
pub fn id(&self) -> &ContentDigest
The admission record’s digest.
pub fn dataset(&self) -> &DatasetId
A model label producer that is model or of its family, if any:
model’s outputs would then not meet independent labels.
Sourcepub fn declares_system(&self, model: &ModelRef) -> bool
pub fn declares_system(&self, model: &ModelRef) -> bool
Whether the admission judged independence against this model.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Admitted
impl RefUnwindSafe for Admitted
impl Send for Admitted
impl Sync for Admitted
impl Unpin for Admitted
impl UnsafeUnpin for Admitted
impl UnwindSafe for Admitted
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