Struct rweb_openapi::v3_0::Example [−][src]
pub struct Example { pub summary: Str, pub description: Str, pub value: Option<ExampleValue>, }
Expand description
Fields
summary: Str
Short description for the example.
description: Str
Long description for the example. CommonMark syntax MAY be used for rich text representation.
value: Option<ExampleValue>
Embedded literal example or a URL that points to the literal example.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Example
impl UnwindSafe for Example
Blanket Implementations
Mutably borrows from an owned value. Read more