pub struct EndpointRule {
pub endpoint_pattern: String,
pub header_rules: BTreeMap<String, ParityRule>,
pub default_header_rule: Option<ParityRule>,
pub body_shape_rule: Option<ParityRule>,
pub timing_rule: Option<ParityRule>,
pub status_code_rule: Option<ParityRule>,
}Fields§
§endpoint_pattern: String§header_rules: BTreeMap<String, ParityRule>§default_header_rule: Option<ParityRule>§body_shape_rule: Option<ParityRule>§timing_rule: Option<ParityRule>§status_code_rule: Option<ParityRule>Implementations§
Trait Implementations§
Source§impl Clone for EndpointRule
impl Clone for EndpointRule
Source§fn clone(&self) -> EndpointRule
fn clone(&self) -> EndpointRule
Returns a duplicate of the value. Read more
1.0.0 · 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 EndpointRule
impl Debug for EndpointRule
Source§impl<'de> Deserialize<'de> for EndpointRule
impl<'de> Deserialize<'de> for EndpointRule
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
Auto Trait Implementations§
impl Freeze for EndpointRule
impl RefUnwindSafe for EndpointRule
impl Send for EndpointRule
impl Sync for EndpointRule
impl Unpin for EndpointRule
impl UnsafeUnpin for EndpointRule
impl UnwindSafe for EndpointRule
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