pub struct OpenApiExample {
pub summary: Option<String>,
pub description: Option<String>,
pub value: Value,
}Expand description
Named OpenAPI media example.
Fields§
§summary: Option<String>§description: Option<String>§value: ValueImplementations§
Trait Implementations§
Source§impl Clone for OpenApiExample
impl Clone for OpenApiExample
Source§fn clone(&self) -> OpenApiExample
fn clone(&self) -> OpenApiExample
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OpenApiExample
impl Debug for OpenApiExample
Source§impl PartialEq for OpenApiExample
impl PartialEq for OpenApiExample
Source§impl Serialize for OpenApiExample
impl Serialize for OpenApiExample
impl StructuralPartialEq for OpenApiExample
Auto Trait Implementations§
impl Freeze for OpenApiExample
impl RefUnwindSafe for OpenApiExample
impl Send for OpenApiExample
impl Sync for OpenApiExample
impl Unpin for OpenApiExample
impl UnsafeUnpin for OpenApiExample
impl UnwindSafe for OpenApiExample
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