pub struct CallOpenAPIDefinitionBuilder { /* private fields */ }Expand description
Builder for constructing an OpenAPI call task.
Implementations§
Source§impl CallOpenAPIDefinitionBuilder
impl CallOpenAPIDefinitionBuilder
pub fn new(document_url: &str, operation_id: &str) -> Self
Sourcepub fn with_parameter(&mut self, name: &str, value: Value) -> &mut Self
pub fn with_parameter(&mut self, name: &str, value: Value) -> &mut Self
Adds a single named parameter to the OpenAPI call.
Sourcepub fn with_output_format(&mut self, output: &str) -> &mut Self
pub fn with_output_format(&mut self, output: &str) -> &mut Self
Sets the output format for the OpenAPI response.
Auto Trait Implementations§
impl Freeze for CallOpenAPIDefinitionBuilder
impl RefUnwindSafe for CallOpenAPIDefinitionBuilder
impl Send for CallOpenAPIDefinitionBuilder
impl Sync for CallOpenAPIDefinitionBuilder
impl Unpin for CallOpenAPIDefinitionBuilder
impl UnsafeUnpin for CallOpenAPIDefinitionBuilder
impl UnwindSafe for CallOpenAPIDefinitionBuilder
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