pub struct ProviderCapabilityProjection {
pub capability_id: CapabilityId,
pub namespace: CapabilityNamespace,
pub projection: ProjectionMode,
pub policy_ref: PolicyRef,
}Expand description
Describes the provider capability projection portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§capability_id: CapabilityIdStable capability identifier used for package projection and executable routing.
namespace: CapabilityNamespaceNamespace that groups this capability or identifier. Use it to avoid collisions between packages, hosts, and extensions.
projection: ProjectionModeProjection controls for exposing data to a provider or subscriber. Use it to keep provider-visible data separate from private SDK state.
policy_ref: PolicyRefPolicy reference that must be resolved by the host or runtime before execution.
Trait Implementations§
Source§impl Clone for ProviderCapabilityProjection
impl Clone for ProviderCapabilityProjection
Source§fn clone(&self) -> ProviderCapabilityProjection
fn clone(&self) -> ProviderCapabilityProjection
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 ProviderCapabilityProjection
impl Debug for ProviderCapabilityProjection
Source§impl<'de> Deserialize<'de> for ProviderCapabilityProjection
impl<'de> Deserialize<'de> for ProviderCapabilityProjection
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 ProviderCapabilityProjection
Source§impl PartialEq for ProviderCapabilityProjection
impl PartialEq for ProviderCapabilityProjection
Source§fn eq(&self, other: &ProviderCapabilityProjection) -> bool
fn eq(&self, other: &ProviderCapabilityProjection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProviderCapabilityProjection
Auto Trait Implementations§
impl Freeze for ProviderCapabilityProjection
impl RefUnwindSafe for ProviderCapabilityProjection
impl Send for ProviderCapabilityProjection
impl Sync for ProviderCapabilityProjection
impl Unpin for ProviderCapabilityProjection
impl UnsafeUnpin for ProviderCapabilityProjection
impl UnwindSafe for ProviderCapabilityProjection
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