pub struct ResponseHeadersPolicyServerTimingHeadersConfig {
pub enabled: bool,
pub sampling_rate: Option<f64>,
}Fields§
§enabled: bool§sampling_rate: Option<f64>Trait Implementations§
Source§impl Clone for ResponseHeadersPolicyServerTimingHeadersConfig
impl Clone for ResponseHeadersPolicyServerTimingHeadersConfig
Source§fn clone(&self) -> ResponseHeadersPolicyServerTimingHeadersConfig
fn clone(&self) -> ResponseHeadersPolicyServerTimingHeadersConfig
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 Default for ResponseHeadersPolicyServerTimingHeadersConfig
impl Default for ResponseHeadersPolicyServerTimingHeadersConfig
Source§fn default() -> ResponseHeadersPolicyServerTimingHeadersConfig
fn default() -> ResponseHeadersPolicyServerTimingHeadersConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ResponseHeadersPolicyServerTimingHeadersConfig
impl<'de> Deserialize<'de> for ResponseHeadersPolicyServerTimingHeadersConfig
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 ResponseHeadersPolicyServerTimingHeadersConfig
impl RefUnwindSafe for ResponseHeadersPolicyServerTimingHeadersConfig
impl Send for ResponseHeadersPolicyServerTimingHeadersConfig
impl Sync for ResponseHeadersPolicyServerTimingHeadersConfig
impl Unpin for ResponseHeadersPolicyServerTimingHeadersConfig
impl UnsafeUnpin for ResponseHeadersPolicyServerTimingHeadersConfig
impl UnwindSafe for ResponseHeadersPolicyServerTimingHeadersConfig
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