[][src]Struct apollo_tracing_protobuf::StatsContext

pub struct StatsContext {
    pub client_reference_id: String,
    pub client_name: String,
    pub client_version: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

client_reference_id: Stringclient_name: Stringclient_version: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl StatsContext[src]

pub fn new() -> StatsContext[src]

pub fn get_client_reference_id(&self) -> &str[src]

pub fn clear_client_reference_id(&mut self)[src]

pub fn set_client_reference_id(&mut self, v: String)[src]

pub fn mut_client_reference_id(&mut self) -> &mut String[src]

pub fn take_client_reference_id(&mut self) -> String[src]

pub fn get_client_name(&self) -> &str[src]

pub fn clear_client_name(&mut self)[src]

pub fn set_client_name(&mut self, v: String)[src]

pub fn mut_client_name(&mut self) -> &mut String[src]

pub fn take_client_name(&mut self) -> String[src]

pub fn get_client_version(&self) -> &str[src]

pub fn clear_client_version(&mut self)[src]

pub fn set_client_version(&mut self, v: String)[src]

pub fn mut_client_version(&mut self) -> &mut String[src]

pub fn take_client_version(&mut self) -> String[src]

Trait Implementations

impl Clear for StatsContext[src]

impl Clone for StatsContext[src]

impl Debug for StatsContext[src]

impl Default for StatsContext[src]

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

impl Message for StatsContext[src]

impl PartialEq<StatsContext> for StatsContext[src]

impl ProtobufValue for StatsContext[src]

impl StructuralPartialEq for StatsContext[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.