Struct oas_gen::xtests::Response [−][src]
pub struct Response { pub cookie: Map<String, String>, pub headers: Map<String, String>, pub status: Vec<u16>, }
Fields
headers: Map<String, String>
status: Vec<u16>
A status code (e.g., 200) or array of status codes (e.g., [200, 301]) that the expected response should match
Trait Implementations
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 RefUnwindSafe for Response
impl UnwindSafe for Response
Blanket Implementations
Mutably borrows from an owned value. Read more