pub struct HttpForwardValidateAction {
pub spec_url_or_payload: String,
pub host: String,
pub port: Option<u16>,
pub scheme: Option<String>,
pub validate_request: Option<bool>,
pub validate_response: Option<bool>,
pub validation_mode: Option<String>,
pub delay: Option<Delay>,
pub primary: Option<bool>,
pub extra: Extra,
}Expand description
Forward action that also validates request/response against an OpenAPI spec
(serialised as httpForwardValidateAction).
Fields§
§spec_url_or_payload: String§host: String§port: Option<u16>§scheme: Option<String>§validate_request: Option<bool>§validate_response: Option<bool>§validation_mode: Option<String>"STRICT" or "LOG_ONLY".
delay: Option<Delay>§primary: Option<bool>§extra: ExtraImplementations§
Trait Implementations§
Source§impl Clone for HttpForwardValidateAction
impl Clone for HttpForwardValidateAction
Source§fn clone(&self) -> HttpForwardValidateAction
fn clone(&self) -> HttpForwardValidateAction
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 HttpForwardValidateAction
impl Debug for HttpForwardValidateAction
Source§impl<'de> Deserialize<'de> for HttpForwardValidateAction
impl<'de> Deserialize<'de> for HttpForwardValidateAction
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 HttpForwardValidateAction
impl PartialEq for HttpForwardValidateAction
Source§fn eq(&self, other: &HttpForwardValidateAction) -> bool
fn eq(&self, other: &HttpForwardValidateAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HttpForwardValidateAction
Auto Trait Implementations§
impl Freeze for HttpForwardValidateAction
impl RefUnwindSafe for HttpForwardValidateAction
impl Send for HttpForwardValidateAction
impl Sync for HttpForwardValidateAction
impl Unpin for HttpForwardValidateAction
impl UnsafeUnpin for HttpForwardValidateAction
impl UnwindSafe for HttpForwardValidateAction
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