pub struct GoogleCloudApigeeV1RuntimeTraceSamplingConfig {
pub sampler: Option<String>,
pub sampling_rate: Option<f32>,
}
Expand description
NEXT ID: 3 RuntimeTraceSamplingConfig 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 GoogleCloudApigeeV1RuntimeTraceSamplingConfig
impl Clone for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
source§fn clone(&self) -> GoogleCloudApigeeV1RuntimeTraceSamplingConfig
fn clone(&self) -> GoogleCloudApigeeV1RuntimeTraceSamplingConfig
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 Default for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
impl Default for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
source§fn default() -> GoogleCloudApigeeV1RuntimeTraceSamplingConfig
fn default() -> GoogleCloudApigeeV1RuntimeTraceSamplingConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
impl<'de> Deserialize<'de> for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
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 GoogleCloudApigeeV1RuntimeTraceSamplingConfig
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
impl Send for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
impl Sync for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
impl Unpin for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
impl UnwindSafe for GoogleCloudApigeeV1RuntimeTraceSamplingConfig
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