Struct jsona_openapi::Contact
source · [−]Expand description
Contact information for the exposed API.
See https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md#contactObject.
Fields
name: Option<String>
url: Option<Url>
email: Option<String>
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Contact
impl<'de> Deserialize<'de> for Contact
sourcefn 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
sourceimpl PartialEq<Contact> for Contact
impl PartialEq<Contact> for Contact
impl StructuralPartialEq for Contact
Auto Trait Implementations
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnwindSafe for Contact
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more