[−][src]Struct oas_gen::Oas3Builder
Methods
impl Oas3Builder
[src]
pub fn new() -> Self
[src]
pub fn build(self, version: String) -> OpenApi
[src]
pub fn list<O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
pub fn fetch<O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
pub fn delete<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
pub fn delete_by_key<O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
pub fn create<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
pub fn update<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
pub fn replace<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
document_name: String,
operation_description: Option<String>
)
pub fn any<I: JsonSchema + Serialize, O: JsonSchema + Serialize>(
&mut self,
web_path: &ApiPath,
method: Method,
document_name: String,
operation_name: String,
operation_description: Option<String>
)
[src]
&mut self,
web_path: &ApiPath,
method: Method,
document_name: String,
operation_name: String,
operation_description: Option<String>
)
Trait Implementations
impl Clone for Oas3Builder
[src]
fn clone(&self) -> Oas3Builder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Oas3Builder
[src]
impl Default for Oas3Builder
[src]
Auto Trait Implementations
impl RefUnwindSafe for Oas3Builder
impl Send for Oas3Builder
impl Sync for Oas3Builder
impl Unpin for Oas3Builder
impl UnwindSafe for Oas3Builder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,