[][src]Struct apollo_tracing_protobuf::ContextualizedTypeStats

pub struct ContextualizedTypeStats {
    pub context: SingularPtrField<StatsContext>,
    pub per_type_stat: HashMap<String, TypeStat>,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

context: SingularPtrField<StatsContext>per_type_stat: HashMap<String, TypeStat>unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl ContextualizedTypeStats[src]

pub fn new() -> ContextualizedTypeStats[src]

pub fn get_context(&self) -> &StatsContext[src]

pub fn clear_context(&mut self)[src]

pub fn has_context(&self) -> bool[src]

pub fn set_context(&mut self, v: StatsContext)[src]

pub fn mut_context(&mut self) -> &mut StatsContext[src]

pub fn take_context(&mut self) -> StatsContext[src]

pub fn get_per_type_stat(&self) -> &HashMap<String, TypeStat>[src]

pub fn clear_per_type_stat(&mut self)[src]

pub fn set_per_type_stat(&mut self, v: HashMap<String, TypeStat>)[src]

pub fn mut_per_type_stat(&mut self) -> &mut HashMap<String, TypeStat>[src]

pub fn take_per_type_stat(&mut self) -> HashMap<String, TypeStat>[src]

Trait Implementations

impl Clear for ContextualizedTypeStats[src]

impl Clone for ContextualizedTypeStats[src]

impl Debug for ContextualizedTypeStats[src]

impl Default for ContextualizedTypeStats[src]

impl<'a> Default for &'a ContextualizedTypeStats[src]

impl Message for ContextualizedTypeStats[src]

impl PartialEq<ContextualizedTypeStats> for ContextualizedTypeStats[src]

impl ProtobufValue for ContextualizedTypeStats[src]

impl StructuralPartialEq for ContextualizedTypeStats[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.