pub struct DepositSpec {
pub layer: LayerId,
pub channel: String,
pub counter: u64,
pub issued_at: String,
pub tools: Vec<DepositTool>,
pub includes: Vec<DepositInclude>,
}Expand description
What to deposit: the layer identity and the tools that make it up.
Fields§
§layer: LayerId§channel: Stringqualified | rolling — recorded verbatim in the annotations.
counter: u64Monotonic per-line release counter (DD-005). The depositor owns monotonicity; clients enforce it.
issued_at: StringRFC 3339 issued-at, supplied by the caller (CI knows the time; this library does not sample clocks).
tools: Vec<DepositTool>(tool name, tool version, binary bytes) triples.
includes: Vec<DepositInclude>Layers composed into this one (REQ-COMPOSE-001).
Trait Implementations§
Source§impl Clone for DepositSpec
impl Clone for DepositSpec
Source§fn clone(&self) -> DepositSpec
fn clone(&self) -> DepositSpec
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 moreAuto Trait Implementations§
impl Freeze for DepositSpec
impl RefUnwindSafe for DepositSpec
impl Send for DepositSpec
impl Sync for DepositSpec
impl Unpin for DepositSpec
impl UnsafeUnpin for DepositSpec
impl UnwindSafe for DepositSpec
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