pub struct UnsupportedComponent {
pub id: String,
pub display_name: Option<String>,
pub kind: InstallKind,
pub optional: bool,
}Expand description
A profile component retained for display when no target-platform contract matches.
Fields§
§id: StringCanonical component identifier.
display_name: Option<String>Optional human-readable component name.
kind: InstallKindTool or skill lifecycle kind.
optional: boolWhether interactive selection would otherwise allow omission.
Trait Implementations§
Source§impl Clone for UnsupportedComponent
impl Clone for UnsupportedComponent
Source§fn clone(&self) -> UnsupportedComponent
fn clone(&self) -> UnsupportedComponent
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 UnsupportedComponent
impl Debug for UnsupportedComponent
Source§impl<'de> Deserialize<'de> for UnsupportedComponent
impl<'de> Deserialize<'de> for UnsupportedComponent
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 UnsupportedComponent
Source§impl PartialEq for UnsupportedComponent
impl PartialEq for UnsupportedComponent
Source§impl Serialize for UnsupportedComponent
impl Serialize for UnsupportedComponent
impl StructuralPartialEq for UnsupportedComponent
Auto Trait Implementations§
impl Freeze for UnsupportedComponent
impl RefUnwindSafe for UnsupportedComponent
impl Send for UnsupportedComponent
impl Sync for UnsupportedComponent
impl Unpin for UnsupportedComponent
impl UnsafeUnpin for UnsupportedComponent
impl UnwindSafe for UnsupportedComponent
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.