pub struct Component {
pub id: String,
pub kind: ComponentKind,
pub language: Option<Language>,
pub binary_name: Option<String>,
pub expected_version: Option<String>,
pub platforms: Vec<String>,
pub sources: Vec<String>,
pub required: bool,
}Expand description
A single managed component within a ProductManifest.
Fields§
§id: StringStable component identifier.
kind: ComponentKindRole this component plays.
language: Option<Language>Implementation language, if applicable.
binary_name: Option<String>Filesystem name of the binary executable.
expected_version: Option<String>Expected semantic version; used by the host resolution algorithm.
platforms: Vec<String>Platforms this component targets (e.g. darwin-arm64).
sources: Vec<String>Download/install source URIs.
required: boolWhether the IDE extension should refuse to start if this component is absent.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Component
impl<'de> Deserialize<'de> for Component
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 Component
impl StructuralPartialEq for Component
Auto Trait Implementations§
impl Freeze for Component
impl RefUnwindSafe for Component
impl Send for Component
impl Sync for Component
impl Unpin for Component
impl UnsafeUnpin for Component
impl UnwindSafe for Component
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