pub enum ResponseSelector {
Every,
Status(u16),
}Expand description
Which responses of a matching operation a header rule documents.
Variants§
Every
Every inline response, including success responses.
Status(u16)
The inline response with this status code.
Trait Implementations§
Source§impl Clone for ResponseSelector
impl Clone for ResponseSelector
impl Copy for ResponseSelector
Source§impl Debug for ResponseSelector
impl Debug for ResponseSelector
impl Eq for ResponseSelector
Source§impl PartialEq for ResponseSelector
impl PartialEq for ResponseSelector
impl StructuralPartialEq for ResponseSelector
Auto Trait Implementations§
impl Freeze for ResponseSelector
impl RefUnwindSafe for ResponseSelector
impl Send for ResponseSelector
impl Sync for ResponseSelector
impl Unpin for ResponseSelector
impl UnsafeUnpin for ResponseSelector
impl UnwindSafe for ResponseSelector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.