#[repr(C)]pub struct CapabilityDescriptor {
pub id: String,
pub name: String,
pub version: String,
pub revision: u32,
pub long_description: String,
pub supported_operations: Vec<OperationDescriptor>,
}
๐Deprecated: The capability provider functionality from this crate has been moved to wasmcloud-provider-core
Expand description
Metadata describing the capability provider and the operations it supports
Fieldsยง
ยงid: String
๐Deprecated: The capability provider functionality from this crate has been moved to wasmcloud-provider-core
The capability ID of the provider, e.g. wascc:messaging
or thirdparty:someprovider
name: String
๐Deprecated: The capability provider functionality from this crate has been moved to wasmcloud-provider-core
The human-friendly name of the provider, displayed in short messages and log entries
version: String
๐Deprecated: The capability provider functionality from this crate has been moved to wasmcloud-provider-core
A semver string representing the version of the provider module
revision: u32
๐Deprecated: The capability provider functionality from this crate has been moved to wasmcloud-provider-core
A monotonicaly increasing revision number
long_description: String
๐Deprecated: The capability provider functionality from this crate has been moved to wasmcloud-provider-core
A longer, documentation-friendly, description of this provider
supported_operations: Vec<OperationDescriptor>
๐Deprecated: The capability provider functionality from this crate has been moved to wasmcloud-provider-core
A list of all of the operations supported by this provider
Implementationsยง
Sourceยงimpl CapabilityDescriptor
impl CapabilityDescriptor
pub fn builder() -> CapabilityDescriptorBuilder
Trait Implementationsยง
Sourceยงimpl Clone for CapabilityDescriptor
impl Clone for CapabilityDescriptor
Sourceยงfn clone(&self) -> CapabilityDescriptor
fn clone(&self) -> CapabilityDescriptor
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 CapabilityDescriptor
impl Debug for CapabilityDescriptor
Sourceยงimpl Default for CapabilityDescriptor
impl Default for CapabilityDescriptor
Sourceยงfn default() -> CapabilityDescriptor
fn default() -> CapabilityDescriptor
Returns the โdefault valueโ for a type. Read more
Sourceยงimpl<'de> Deserialize<'de> for CapabilityDescriptor
impl<'de> Deserialize<'de> for CapabilityDescriptor
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 CapabilityDescriptor
impl PartialEq for CapabilityDescriptor
Sourceยงimpl Serialize for CapabilityDescriptor
impl Serialize for CapabilityDescriptor
impl StructuralPartialEq for CapabilityDescriptor
Auto Trait Implementationsยง
impl Freeze for CapabilityDescriptor
impl RefUnwindSafe for CapabilityDescriptor
impl Send for CapabilityDescriptor
impl Sync for CapabilityDescriptor
impl Unpin for CapabilityDescriptor
impl UnwindSafe for CapabilityDescriptor
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