pub struct ManifestKnownDegradation {
pub capability: String,
pub previous_support: SupportState,
pub current_support: SupportState,
pub evidence: Option<String>,
}Expand description
One pre-declared capability degradation the adapter ships with.
Lets a manifest say “this build’s context_pressure was native
upstream but is currently unavailable here” without firing a
runtime capability.degraded event.
Fields§
§capability: String§previous_support: SupportState§current_support: SupportState§evidence: Option<String>Trait Implementations§
Source§impl Clone for ManifestKnownDegradation
impl Clone for ManifestKnownDegradation
Source§fn clone(&self) -> ManifestKnownDegradation
fn clone(&self) -> ManifestKnownDegradation
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 ManifestKnownDegradation
impl Debug for ManifestKnownDegradation
Source§impl<'de> Deserialize<'de> for ManifestKnownDegradation
impl<'de> Deserialize<'de> for ManifestKnownDegradation
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
Source§impl PartialEq for ManifestKnownDegradation
impl PartialEq for ManifestKnownDegradation
Source§fn eq(&self, other: &ManifestKnownDegradation) -> bool
fn eq(&self, other: &ManifestKnownDegradation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ManifestKnownDegradation
impl Serialize for ManifestKnownDegradation
impl Eq for ManifestKnownDegradation
impl StructuralPartialEq for ManifestKnownDegradation
Auto Trait Implementations§
impl Freeze for ManifestKnownDegradation
impl RefUnwindSafe for ManifestKnownDegradation
impl Send for ManifestKnownDegradation
impl Sync for ManifestKnownDegradation
impl Unpin for ManifestKnownDegradation
impl UnsafeUnpin for ManifestKnownDegradation
impl UnwindSafe for ManifestKnownDegradation
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.