pub struct ModuleContribution {
pub id: String,
pub package_id: String,
pub configuration_schema_digest: String,
pub provides: Vec<CapabilityDeclaration>,
pub requires: Vec<CapabilityRequirement>,
pub implementations: Vec<ImplementationVariant>,
pub permission_request_ids: Vec<String>,
pub state: Option<StateDeclaration>,
}Expand description
One logical Module contribution with alternative execution implementations.
Fields§
§id: String§package_id: String§configuration_schema_digest: String§provides: Vec<CapabilityDeclaration>§requires: Vec<CapabilityRequirement>§implementations: Vec<ImplementationVariant>§permission_request_ids: Vec<String>§state: Option<StateDeclaration>Trait Implementations§
Source§impl Clone for ModuleContribution
impl Clone for ModuleContribution
Source§fn clone(&self) -> ModuleContribution
fn clone(&self) -> ModuleContribution
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 ModuleContribution
impl Debug for ModuleContribution
Source§impl<'de> Deserialize<'de> for ModuleContribution
impl<'de> Deserialize<'de> for ModuleContribution
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 ModuleContribution
Source§impl PartialEq for ModuleContribution
impl PartialEq for ModuleContribution
Source§impl Serialize for ModuleContribution
impl Serialize for ModuleContribution
impl StructuralPartialEq for ModuleContribution
Auto Trait Implementations§
impl Freeze for ModuleContribution
impl RefUnwindSafe for ModuleContribution
impl Send for ModuleContribution
impl Sync for ModuleContribution
impl Unpin for ModuleContribution
impl UnsafeUnpin for ModuleContribution
impl UnwindSafe for ModuleContribution
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.