pub struct ExternalDocs {
pub description: Option<String>,
pub url: String,
}
Expand description
External Documentation object.
Fields§
§description: Option<String>
§url: String
Trait Implementations§
source§impl Clone for ExternalDocs
impl Clone for ExternalDocs
source§fn clone(&self) -> ExternalDocs
fn clone(&self) -> ExternalDocs
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 ExternalDocs
impl Debug for ExternalDocs
source§impl Default for ExternalDocs
impl Default for ExternalDocs
source§fn default() -> ExternalDocs
fn default() -> ExternalDocs
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ExternalDocs
impl<'de> Deserialize<'de> for ExternalDocs
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 From<ExternalDocs> for ExternalDocumentation
impl From<ExternalDocs> for ExternalDocumentation
source§fn from(v2: ExternalDocs) -> Self
fn from(v2: ExternalDocs) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExternalDocs
impl RefUnwindSafe for ExternalDocs
impl Send for ExternalDocs
impl Sync for ExternalDocs
impl Unpin for ExternalDocs
impl UnwindSafe for ExternalDocs
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)