Struct utoipa::openapi::external_docs::ExternalDocsBuilder
source · pub struct ExternalDocsBuilder { /* private fields */ }
Expand description
Builder for ExternalDocs
with chainable configuration methods to create a new ExternalDocs
.
Implementations§
source§impl ExternalDocsBuilder
impl ExternalDocsBuilder
sourcepub fn new() -> ExternalDocsBuilder
pub fn new() -> ExternalDocsBuilder
Constructs a new ExternalDocsBuilder
.
sourcepub fn build(self) -> ExternalDocs
pub fn build(self) -> ExternalDocs
Constructs a new ExternalDocs
taking all fields values from this object.
Trait Implementations§
source§impl Default for ExternalDocsBuilder
impl Default for ExternalDocsBuilder
source§impl From<ExternalDocs> for ExternalDocsBuilder
impl From<ExternalDocs> for ExternalDocsBuilder
source§fn from(value: ExternalDocs) -> Self
fn from(value: ExternalDocs) -> Self
Converts to this type from the input type.
source§impl From<ExternalDocsBuilder> for ExternalDocs
impl From<ExternalDocsBuilder> for ExternalDocs
source§fn from(value: ExternalDocsBuilder) -> Self
fn from(value: ExternalDocsBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ExternalDocsBuilder
impl Send for ExternalDocsBuilder
impl Sync for ExternalDocsBuilder
impl Unpin for ExternalDocsBuilder
impl UnwindSafe for ExternalDocsBuilder
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