pub struct Pin {
pub realm: Option<String>,
pub channel: Channel,
pub layer: LayerId,
pub digest: Option<String>,
pub tools: Option<Vec<String>>,
pub exports: Vec<ExportDecl>,
}Expand description
A parsed, validated pin.
Fields§
§realm: Option<String>Optional trust universe (REQ-REALM-001). When named, the realm’s registry and trust root are AUTHORITATIVE for this project.
channel: Channel§layer: LayerId§digest: Option<String>Optional exact manifest digest. When present it wins over the name: a name resolving to a different digest is a hard failure (DD-005’s lever available at the pin level).
tools: Option<Vec<String>>Optional restriction to a subset of the layer’s tools. None means
every tool in the layer.
exports: Vec<ExportDecl>The exports this project declares (REQ-EXPORTDECL-001). Declared means
checked: verify looks at every one of these without being told.
Implementations§
Trait Implementations§
impl Eq for Pin
impl StructuralPartialEq for Pin
Auto Trait Implementations§
impl Freeze for Pin
impl RefUnwindSafe for Pin
impl Send for Pin
impl Sync for Pin
impl Unpin for Pin
impl UnsafeUnpin for Pin
impl UnwindSafe for Pin
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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