pub struct PathItemBuilder { /* private fields */ }Expand description
Builder for path items
Implementations§
Source§impl PathItemBuilder
impl PathItemBuilder
pub fn new() -> Self
pub fn get(self, operation: Operation) -> Self
pub fn post(self, operation: Operation) -> Self
pub fn put(self, operation: Operation) -> Self
pub fn delete(self, operation: Operation) -> Self
pub fn patch(self, operation: Operation) -> Self
pub fn build(self) -> PathItem
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathItemBuilder
impl RefUnwindSafe for PathItemBuilder
impl Send for PathItemBuilder
impl Sync for PathItemBuilder
impl Unpin for PathItemBuilder
impl UnsafeUnpin for PathItemBuilder
impl UnwindSafe for PathItemBuilder
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<R, D> DepsPresent<D> for R
Source§impl<T> Injectable for T
impl<T> Injectable for T
Source§fn type_id_of() -> TypeIdwhere
Self: Sized,
fn type_id_of() -> TypeIdwhere
Self: Sized,
Returns the TypeId of this type (for internal use)
Source§fn type_name_of() -> &'static strwhere
Self: Sized,
fn type_name_of() -> &'static strwhere
Self: Sized,
Returns the type name for debugging