#[non_exhaustive]pub struct LatencyDistribution {
pub latency_percentiles: Vec<LatencyPercentile>,
/* private fields */
}Expand description
Describes measured latency distribution.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.latency_percentiles: Vec<LatencyPercentile>Representative latency percentiles.
Implementations§
Source§impl LatencyDistribution
impl LatencyDistribution
Sourcepub fn set_latency_percentiles<T, V>(self, v: T) -> Self
pub fn set_latency_percentiles<T, V>(self, v: T) -> Self
Sets the value of latency_percentiles.
§Example
ⓘ
use google_cloud_networkmanagement_v1::model::LatencyPercentile;
let x = LatencyDistribution::new()
.set_latency_percentiles([
LatencyPercentile::default()/* use setters */,
LatencyPercentile::default()/* use (different) setters */,
]);Trait Implementations§
Source§impl Clone for LatencyDistribution
impl Clone for LatencyDistribution
Source§fn clone(&self) -> LatencyDistribution
fn clone(&self) -> LatencyDistribution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LatencyDistribution
impl Debug for LatencyDistribution
Source§impl Default for LatencyDistribution
impl Default for LatencyDistribution
Source§fn default() -> LatencyDistribution
fn default() -> LatencyDistribution
Returns the “default value” for a type. Read more
Source§impl Message for LatencyDistribution
impl Message for LatencyDistribution
Source§impl PartialEq for LatencyDistribution
impl PartialEq for LatencyDistribution
Source§fn eq(&self, other: &LatencyDistribution) -> bool
fn eq(&self, other: &LatencyDistribution) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LatencyDistribution
Auto Trait Implementations§
impl Freeze for LatencyDistribution
impl RefUnwindSafe for LatencyDistribution
impl Send for LatencyDistribution
impl Sync for LatencyDistribution
impl Unpin for LatencyDistribution
impl UnsafeUnpin for LatencyDistribution
impl UnwindSafe for LatencyDistribution
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