[][src]Struct wascc_codec::capabilities::CapabilityDescriptor

#[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>,
}

Metadata describing the capability provider and the operations it supports

Fields

id: String

The capability ID of the provider, e.g. wascc:messaging or thirdparty:someprovider

name: String

The human-friendly name of the provider, displayed in short messages and log entries

version: String

A semver string representing the version of the provider module

revision: u32

A monotonicaly increasing revision number

long_description: String

A longer, documentation-friendly, description of this provider

supported_operations: Vec<OperationDescriptor>

A list of all of the operations supported by this provider

Implementations

impl CapabilityDescriptor[src]

Trait Implementations

impl Clone for CapabilityDescriptor[src]

impl Debug for CapabilityDescriptor[src]

impl Default for CapabilityDescriptor[src]

impl<'de> Deserialize<'de> for CapabilityDescriptor[src]

impl PartialEq<CapabilityDescriptor> for CapabilityDescriptor[src]

impl Serialize for CapabilityDescriptor[src]

impl StructuralPartialEq for CapabilityDescriptor[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.