pub struct OpenAPIArguments {
pub document: ExternalResourceDefinition,
pub operation_id: String,
pub parameters: Option<HashMap<String, Value>>,
pub authentication: Option<ReferenceableAuthenticationPolicy>,
pub output: Option<String>,
pub redirect: Option<bool>,
}Expand description
Represents the OpenAPI call arguments
Fields§
§document: ExternalResourceDefinitionGets/sets the document that defines the OpenAPI operation to call
operation_id: StringGets/sets the id of the OpenAPI operation to call
parameters: Option<HashMap<String, Value>>Gets/sets a name/value mapping of the parameters of the OpenAPI operation to call
authentication: Option<ReferenceableAuthenticationPolicy>Gets/sets the authentication policy, if any, to use when calling the OpenAPI operation
output: Option<String>Gets/sets the http call output format. Defaults to ‘content’
redirect: Option<bool>Gets/sets whether redirection status codes (300-399) should be treated as errors
Trait Implementations§
Source§impl Clone for OpenAPIArguments
impl Clone for OpenAPIArguments
Source§fn clone(&self) -> OpenAPIArguments
fn clone(&self) -> OpenAPIArguments
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OpenAPIArguments
impl Debug for OpenAPIArguments
Source§impl Default for OpenAPIArguments
impl Default for OpenAPIArguments
Source§fn default() -> OpenAPIArguments
fn default() -> OpenAPIArguments
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpenAPIArguments
impl<'de> Deserialize<'de> for OpenAPIArguments
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for OpenAPIArguments
impl PartialEq for OpenAPIArguments
Source§fn eq(&self, other: &OpenAPIArguments) -> bool
fn eq(&self, other: &OpenAPIArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenAPIArguments
impl Serialize for OpenAPIArguments
impl StructuralPartialEq for OpenAPIArguments
Auto Trait Implementations§
impl Freeze for OpenAPIArguments
impl RefUnwindSafe for OpenAPIArguments
impl Send for OpenAPIArguments
impl Sync for OpenAPIArguments
impl Unpin for OpenAPIArguments
impl UnsafeUnpin for OpenAPIArguments
impl UnwindSafe for OpenAPIArguments
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