pub struct PlannedTarget {
pub target: String,
pub policy: TargetPolicy,
pub artifact_form: PlannedAssetForm,
pub floor_status: FloorVerificationStatus,
}Expand description
One selected target’s canonical policy and contract-derived artifact form.
Fields§
§target: StringCanonical contract triple.
policy: TargetPolicyProducer policy resolved for this canonical target.
artifact_form: PlannedAssetFormArtifact identity derived exclusively from the contract.
floor_status: FloorVerificationStatusVerification status of the declared compatibility floor.
The status is derived from the policy by
planned_floor_status, so a plan either states the status its
declaration implies or it is rejected. A document that omits the field
is read as NotDeclared, which is refused for any target that
declares a floor.
Trait Implementations§
Source§impl Clone for PlannedTarget
impl Clone for PlannedTarget
Source§impl Debug for PlannedTarget
impl Debug for PlannedTarget
Source§impl<'de> Deserialize<'de> for PlannedTarget
impl<'de> Deserialize<'de> for PlannedTarget
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
impl Eq for PlannedTarget
Source§impl PartialEq for PlannedTarget
impl PartialEq for PlannedTarget
Source§impl Serialize for PlannedTarget
impl Serialize for PlannedTarget
impl StructuralPartialEq for PlannedTarget
Auto Trait Implementations§
impl Forget for PlannedTarget
impl Freeze for PlannedTarget
impl Move for PlannedTarget
impl RefUnwindSafe for PlannedTarget
impl Send for PlannedTarget
impl Sync for PlannedTarget
impl Unpin for PlannedTarget
impl UnsafeUnpin for PlannedTarget
impl UnwindSafe for PlannedTarget
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.