pub struct DistributionEntry {Show 13 fields
pub id: String,
pub crate_name: String,
pub category: ExtensionCategory,
pub display_name: String,
pub description: String,
pub default_in_profiles: Vec<String>,
pub required_env: Vec<String>,
pub optional_env: Vec<String>,
pub conflicts_with: Vec<String>,
pub required_capabilities: Vec<String>,
pub extension_path: String,
pub docs_url: Option<String>,
pub extras: Value,
}Fields§
§id: String§crate_name: String§category: ExtensionCategory§display_name: String§description: String§default_in_profiles: Vec<String>§required_env: Vec<String>§optional_env: Vec<String>§conflicts_with: Vec<String>§required_capabilities: Vec<String>§extension_path: String§docs_url: Option<String>§extras: ValueTrait Implementations§
Source§impl Clone for DistributionEntry
impl Clone for DistributionEntry
Source§fn clone(&self) -> DistributionEntry
fn clone(&self) -> DistributionEntry
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 DistributionEntry
impl Debug for DistributionEntry
Source§impl<'de> Deserialize<'de> for DistributionEntry
impl<'de> Deserialize<'de> for DistributionEntry
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 DistributionEntry
Source§impl PartialEq for DistributionEntry
impl PartialEq for DistributionEntry
Source§fn eq(&self, other: &DistributionEntry) -> bool
fn eq(&self, other: &DistributionEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DistributionEntry
impl Serialize for DistributionEntry
impl StructuralPartialEq for DistributionEntry
Auto Trait Implementations§
impl Freeze for DistributionEntry
impl RefUnwindSafe for DistributionEntry
impl Send for DistributionEntry
impl Sync for DistributionEntry
impl Unpin for DistributionEntry
impl UnsafeUnpin for DistributionEntry
impl UnwindSafe for DistributionEntry
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.