pub struct GoogleCloudApigeeV1TraceSamplingConfig {
pub sampler: Option<String>,
pub sampling_rate: Option<f32>,
}Expand description
TraceSamplingConfig represents the detail settings of distributed tracing. Only the fields that are defined in the distributed trace configuration can be overridden using the distribute trace configuration override APIs.
This type is not used in any activity, and only used as part of another schema.
Fields§
§sampler: Option<String>Sampler of distributed tracing. OFF is the default value.
sampling_rate: Option<f32>Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
Trait Implementations§
Source§impl Clone for GoogleCloudApigeeV1TraceSamplingConfig
impl Clone for GoogleCloudApigeeV1TraceSamplingConfig
Source§fn clone(&self) -> GoogleCloudApigeeV1TraceSamplingConfig
fn clone(&self) -> GoogleCloudApigeeV1TraceSamplingConfig
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 GoogleCloudApigeeV1TraceSamplingConfig
impl Default for GoogleCloudApigeeV1TraceSamplingConfig
Source§fn default() -> GoogleCloudApigeeV1TraceSamplingConfig
fn default() -> GoogleCloudApigeeV1TraceSamplingConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudApigeeV1TraceSamplingConfig
impl<'de> Deserialize<'de> for GoogleCloudApigeeV1TraceSamplingConfig
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
impl Part for GoogleCloudApigeeV1TraceSamplingConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudApigeeV1TraceSamplingConfig
impl RefUnwindSafe for GoogleCloudApigeeV1TraceSamplingConfig
impl Send for GoogleCloudApigeeV1TraceSamplingConfig
impl Sync for GoogleCloudApigeeV1TraceSamplingConfig
impl Unpin for GoogleCloudApigeeV1TraceSamplingConfig
impl UnwindSafe for GoogleCloudApigeeV1TraceSamplingConfig
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