pub struct RemoveRecording(pub bool);Expand description
Whether to remove records during recording playback.
This option is used for test recordings, if true, the recording will be removed from the test-proxy when retrieved, otherwise it will be kept. The default is true.
Tuple Fields§
§0: boolTrait Implementations§
Source§impl Debug for RemoveRecording
impl Debug for RemoveRecording
Source§impl Header for RemoveRecording
impl Header for RemoveRecording
Source§fn name(&self) -> HeaderName
fn name(&self) -> HeaderName
Get the name of the header.
Source§fn value(&self) -> HeaderValue
fn value(&self) -> HeaderValue
Get the value of the header.
Auto Trait Implementations§
impl Freeze for RemoveRecording
impl RefUnwindSafe for RemoveRecording
impl Send for RemoveRecording
impl Sync for RemoveRecording
impl Unpin for RemoveRecording
impl UnsafeUnpin for RemoveRecording
impl UnwindSafe for RemoveRecording
Blanket Implementations§
Source§impl<T> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
Source§fn as_headers(&self) -> Result<<T as AsHeaders>::Iter, <T as AsHeaders>::Error>
fn as_headers(&self) -> Result<<T as AsHeaders>::Iter, <T as AsHeaders>::Error>
Iterate over all the header name/value pairs.
Source§type Error = Infallible
type Error = Infallible
The error type which can occur when converting the type into headers.
Source§type Iter = IntoIter<(HeaderName, HeaderValue)>
type Iter = IntoIter<(HeaderName, HeaderValue)>
The iterator type which yields header name/value pairs.
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