#[non_exhaustive]pub struct ExportApiOutputBuilder { /* private fields */ }
Expand description
A builder for ExportApiOutput
.
Implementations§
source§impl ExportApiOutputBuilder
impl ExportApiOutputBuilder
sourcepub fn body(self, input: Blob) -> Self
pub fn body(self, input: Blob) -> Self
Represents an exported definition of an API in a particular output format, for example, YAML. The API is serialized to the requested specification, for example, OpenAPI 3.0.
sourcepub fn set_body(self, input: Option<Blob>) -> Self
pub fn set_body(self, input: Option<Blob>) -> Self
Represents an exported definition of an API in a particular output format, for example, YAML. The API is serialized to the requested specification, for example, OpenAPI 3.0.
sourcepub fn get_body(&self) -> &Option<Blob>
pub fn get_body(&self) -> &Option<Blob>
Represents an exported definition of an API in a particular output format, for example, YAML. The API is serialized to the requested specification, for example, OpenAPI 3.0.
sourcepub fn build(self) -> ExportApiOutput
pub fn build(self) -> ExportApiOutput
Consumes the builder and constructs a ExportApiOutput
.
Trait Implementations§
source§impl Clone for ExportApiOutputBuilder
impl Clone for ExportApiOutputBuilder
source§fn clone(&self) -> ExportApiOutputBuilder
fn clone(&self) -> ExportApiOutputBuilder
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 ExportApiOutputBuilder
impl Debug for ExportApiOutputBuilder
source§impl Default for ExportApiOutputBuilder
impl Default for ExportApiOutputBuilder
source§fn default() -> ExportApiOutputBuilder
fn default() -> ExportApiOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ExportApiOutputBuilder
impl PartialEq for ExportApiOutputBuilder
source§fn eq(&self, other: &ExportApiOutputBuilder) -> bool
fn eq(&self, other: &ExportApiOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ExportApiOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ExportApiOutputBuilder
impl Send for ExportApiOutputBuilder
impl Sync for ExportApiOutputBuilder
impl Unpin for ExportApiOutputBuilder
impl UnwindSafe for ExportApiOutputBuilder
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.