Struct wick_interface_types::Field
source · pub struct Field {
pub name: String,
pub ty: TypeSignature,
pub default: Option<Value>,
pub required: bool,
pub description: Option<String>,
}
Fields§
§name: String
The name of the field.
ty: TypeSignature
The type of the field.
default: Option<Value>
Whether the field is required.
required: bool
Whether the field is required.
description: Option<String>
The description of the field.
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Field
impl<'de> Deserialize<'de> for Field
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