pub struct ProviderDecl {
pub provider_type: String,
pub capabilities: Vec<String>,
pub ops: Vec<String>,
pub config_schema_ref: String,
pub state_schema_ref: Option<String>,
pub runtime: ProviderRuntimeRef,
pub docs_ref: Option<String>,
}Expand description
Provider declaration stored in indexes and extension payloads.
Fields§
§provider_type: StringProvider type identifier (string-based to avoid enum coupling).
capabilities: Vec<String>Capabilities advertised by the provider.
ops: Vec<String>Operations exposed by the provider.
config_schema_ref: StringJSON Schema reference for configuration.
state_schema_ref: Option<String>Optional JSON Schema reference for provider state.
runtime: ProviderRuntimeRefRuntime binding information for the provider.
docs_ref: Option<String>Optional documentation reference.
Trait Implementations§
Source§impl Clone for ProviderDecl
impl Clone for ProviderDecl
Source§fn clone(&self) -> ProviderDecl
fn clone(&self) -> ProviderDecl
Returns a duplicate of the value. Read more
1.0.0 · 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 ProviderDecl
impl Debug for ProviderDecl
Source§impl<'de> Deserialize<'de> for ProviderDecl
impl<'de> Deserialize<'de> for ProviderDecl
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 ProviderDecl
impl PartialEq for ProviderDecl
Source§impl Serialize for ProviderDecl
impl Serialize for ProviderDecl
impl Eq for ProviderDecl
impl StructuralPartialEq for ProviderDecl
Auto Trait Implementations§
impl Freeze for ProviderDecl
impl RefUnwindSafe for ProviderDecl
impl Send for ProviderDecl
impl Sync for ProviderDecl
impl Unpin for ProviderDecl
impl UnwindSafe for ProviderDecl
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,
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.