pub struct PlanTarget {
pub ecosystem: Ecosystem,
pub package: Option<String>,
pub registry: Registry,
pub adapter: Adapter,
}Expand description
One concrete publish destination in a sealed plan.
Mirrors the contract’s crate::contract::schema::Target but is a distinct
wire type: the plan may resolve a null package name from repo facts, so
its package is the concrete name the human approves, not necessarily the
contract’s (which the executor would otherwise infer at cut time).
Fields§
§ecosystem: EcosystemThe ecosystem this target publishes for.
package: Option<String>The package/crate name — resolved from the detected manifest facts when
the contract left it null; still null if no manifest named it (the
executor would infer it at cut time).
registry: RegistryThe publish destination.
adapter: AdapterThe release tool pinned for this target.
Trait Implementations§
Source§impl Clone for PlanTarget
impl Clone for PlanTarget
Source§fn clone(&self) -> PlanTarget
fn clone(&self) -> PlanTarget
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 PlanTarget
impl Debug for PlanTarget
impl Eq for PlanTarget
Source§impl PartialEq for PlanTarget
impl PartialEq for PlanTarget
Source§impl Serialize for PlanTarget
impl Serialize for PlanTarget
impl StructuralPartialEq for PlanTarget
Auto Trait Implementations§
impl Freeze for PlanTarget
impl RefUnwindSafe for PlanTarget
impl Send for PlanTarget
impl Sync for PlanTarget
impl Unpin for PlanTarget
impl UnsafeUnpin for PlanTarget
impl UnwindSafe for PlanTarget
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
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§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.