Struct utoipa::openapi::info::ContactBuilder
source · pub struct ContactBuilder { /* private fields */ }
Expand description
Builder for Contact
with chainable configuration methods to create a new Contact
.
See the InfoBuilder
for combined usage example.
Implementations§
source§impl ContactBuilder
impl ContactBuilder
sourcepub fn new() -> ContactBuilder
pub fn new() -> ContactBuilder
Constructs a new ContactBuilder
.
Trait Implementations§
source§impl Default for ContactBuilder
impl Default for ContactBuilder
source§impl From<Contact> for ContactBuilder
impl From<Contact> for ContactBuilder
source§impl From<ContactBuilder> for Contact
impl From<ContactBuilder> for Contact
source§fn from(value: ContactBuilder) -> Self
fn from(value: ContactBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ContactBuilder
impl Send for ContactBuilder
impl Sync for ContactBuilder
impl Unpin for ContactBuilder
impl UnwindSafe for ContactBuilder
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