Struct wick_interface_types::WellKnownSchema
source · pub struct WellKnownSchema {
pub capabilities: Vec<String>,
pub url: String,
pub schema: ComponentSignature,
}
Expand description
An entry from a well-known schema
Fields§
§capabilities: Vec<String>
The capability the schema provides.
url: String
The location where you can find and validate the schema.
schema: ComponentSignature
The schema itself.
Trait Implementations§
source§impl Clone for WellKnownSchema
impl Clone for WellKnownSchema
source§fn clone(&self) -> WellKnownSchema
fn clone(&self) -> WellKnownSchema
Returns a copy 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 WellKnownSchema
impl Debug for WellKnownSchema
source§impl Default for WellKnownSchema
impl Default for WellKnownSchema
source§fn default() -> WellKnownSchema
fn default() -> WellKnownSchema
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WellKnownSchema
impl<'de> Deserialize<'de> for WellKnownSchema
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<WellKnownSchema> for WellKnownSchema
impl PartialEq<WellKnownSchema> for WellKnownSchema
source§fn eq(&self, other: &WellKnownSchema) -> bool
fn eq(&self, other: &WellKnownSchema) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.