Struct utoipa::openapi::response::ResponseBuilder
source · pub struct ResponseBuilder { /* private fields */ }
Expand description
Implementations§
source§impl ResponseBuilder
impl ResponseBuilder
sourcepub fn new() -> ResponseBuilder
pub fn new() -> ResponseBuilder
Constructs a new ResponseBuilder
.
Trait Implementations§
source§impl Default for ResponseBuilder
impl Default for ResponseBuilder
source§impl From<Response> for ResponseBuilder
impl From<Response> for ResponseBuilder
source§impl From<ResponseBuilder> for RefOr<Response>
impl From<ResponseBuilder> for RefOr<Response>
source§fn from(builder: ResponseBuilder) -> Self
fn from(builder: ResponseBuilder) -> Self
Converts to this type from the input type.
source§impl From<ResponseBuilder> for Response
impl From<ResponseBuilder> for Response
source§fn from(value: ResponseBuilder) -> Self
fn from(value: ResponseBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResponseBuilder
impl RefUnwindSafe for ResponseBuilder
impl Send for ResponseBuilder
impl Sync for ResponseBuilder
impl Unpin for ResponseBuilder
impl UnwindSafe for ResponseBuilder
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