pub struct ProviderCapabilitySnapshot {
pub capability_version: String,
pub realtime_capability_version: Option<String>,
}Expand description
Describes the provider capability snapshot 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_version: StringCapability version advertised by the provider or package. Use it to match compatible feature contracts during package resolution.
realtime_capability_version: Option<String>Optional realtime capability version advertised by the package. Package resolution can use it to match compatible realtime sidecars and adapters.
Trait Implementations§
Source§impl Clone for ProviderCapabilitySnapshot
impl Clone for ProviderCapabilitySnapshot
Source§fn clone(&self) -> ProviderCapabilitySnapshot
fn clone(&self) -> ProviderCapabilitySnapshot
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 ProviderCapabilitySnapshot
impl Debug for ProviderCapabilitySnapshot
Source§impl<'de> Deserialize<'de> for ProviderCapabilitySnapshot
impl<'de> Deserialize<'de> for ProviderCapabilitySnapshot
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
Source§impl PartialEq for ProviderCapabilitySnapshot
impl PartialEq for ProviderCapabilitySnapshot
Source§fn eq(&self, other: &ProviderCapabilitySnapshot) -> bool
fn eq(&self, other: &ProviderCapabilitySnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ProviderCapabilitySnapshot
impl StructuralPartialEq for ProviderCapabilitySnapshot
Auto Trait Implementations§
impl Freeze for ProviderCapabilitySnapshot
impl RefUnwindSafe for ProviderCapabilitySnapshot
impl Send for ProviderCapabilitySnapshot
impl Sync for ProviderCapabilitySnapshot
impl Unpin for ProviderCapabilitySnapshot
impl UnsafeUnpin for ProviderCapabilitySnapshot
impl UnwindSafe for ProviderCapabilitySnapshot
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