Struct vit_servicing_station_tests_f10::common::clients::rest::logger::RestClientLogger
source · pub struct RestClientLogger {
enabled: bool,
}
Fields§
§enabled: bool
Implementations§
source§impl RestClientLogger
impl RestClientLogger
pub fn log_request(&self, request: &str)
pub fn log_response(&self, response: &Response)
pub fn log_text(&self, content: &str)
pub fn log_post_body(&self, content: &str)
pub fn is_enabled(&self) -> bool
pub fn set_enabled(&mut self, enabled: bool)
Trait Implementations§
source§impl Clone for RestClientLogger
impl Clone for RestClientLogger
source§fn clone(&self) -> RestClientLogger
fn clone(&self) -> RestClientLogger
Returns a copy 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 RestClientLogger
impl Debug for RestClientLogger
Auto Trait Implementations§
impl RefUnwindSafe for RestClientLogger
impl Send for RestClientLogger
impl Sync for RestClientLogger
impl Unpin for RestClientLogger
impl UnwindSafe for RestClientLogger
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