pub struct PromotionItem {
pub kind: String,
pub id: String,
pub ts: String,
pub agent: String,
pub sources: Vec<String>,
pub artifact: Artifact,
pub note: Option<String>,
pub cwd: String,
pub origin: Option<Origin>,
}Expand description
The promotion arm of list’s tagged union (r48). It carries no status,
resolution, text, tags, impact, or evidence: a promotion has no
lifecycle to filter and no friction text of its own.
Fields§
§kind: String§id: String§ts: String§agent: String§sources: Vec<String>§artifact: Artifact§note: Option<String>§cwd: String§origin: Option<Origin>Trait Implementations§
Source§impl Clone for PromotionItem
impl Clone for PromotionItem
Source§fn clone(&self) -> PromotionItem
fn clone(&self) -> PromotionItem
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 PromotionItem
impl Debug for PromotionItem
Source§impl<'de> Deserialize<'de> for PromotionItem
impl<'de> Deserialize<'de> for PromotionItem
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 PromotionItem
Source§impl PartialEq for PromotionItem
impl PartialEq for PromotionItem
Source§impl Serialize for PromotionItem
impl Serialize for PromotionItem
impl StructuralPartialEq for PromotionItem
Auto Trait Implementations§
impl Freeze for PromotionItem
impl RefUnwindSafe for PromotionItem
impl Send for PromotionItem
impl Sync for PromotionItem
impl Unpin for PromotionItem
impl UnsafeUnpin for PromotionItem
impl UnwindSafe for PromotionItem
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.