[][src]Struct apollo_tracing_protobuf::Trace

pub struct Trace {
    pub start_time: SingularPtrField<Timestamp>,
    pub end_time: SingularPtrField<Timestamp>,
    pub duration_ns: u64,
    pub root: SingularPtrField<Trace_Node>,
    pub signature: String,
    pub unexecutedOperationBody: String,
    pub unexecutedOperationName: String,
    pub details: SingularPtrField<Trace_Details>,
    pub client_name: String,
    pub client_version: String,
    pub client_address: String,
    pub client_reference_id: String,
    pub http: SingularPtrField<Trace_HTTP>,
    pub cache_policy: SingularPtrField<Trace_CachePolicy>,
    pub query_plan: SingularPtrField<Trace_QueryPlanNode>,
    pub full_query_cache_hit: bool,
    pub persisted_query_hit: bool,
    pub persisted_query_register: bool,
    pub registered_operation: bool,
    pub forbidden_operation: bool,
    pub legacy_signature_needs_resigning: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Generated files are compatible only with the same version of protobuf runtime.

Fields

start_time: SingularPtrField<Timestamp>end_time: SingularPtrField<Timestamp>duration_ns: u64root: SingularPtrField<Trace_Node>signature: StringunexecutedOperationBody: StringunexecutedOperationName: Stringdetails: SingularPtrField<Trace_Details>client_name: Stringclient_version: Stringclient_address: Stringclient_reference_id: Stringhttp: SingularPtrField<Trace_HTTP>cache_policy: SingularPtrField<Trace_CachePolicy>query_plan: SingularPtrField<Trace_QueryPlanNode>full_query_cache_hit: boolpersisted_query_hit: boolpersisted_query_register: boolregistered_operation: boolforbidden_operation: boollegacy_signature_needs_resigning: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Trace[src]

pub fn new() -> Trace[src]

pub fn get_start_time(&self) -> &Timestamp[src]

pub fn clear_start_time(&mut self)[src]

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

pub fn set_start_time(&mut self, v: Timestamp)[src]

pub fn mut_start_time(&mut self) -> &mut Timestamp[src]

pub fn take_start_time(&mut self) -> Timestamp[src]

pub fn get_end_time(&self) -> &Timestamp[src]

pub fn clear_end_time(&mut self)[src]

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

pub fn set_end_time(&mut self, v: Timestamp)[src]

pub fn mut_end_time(&mut self) -> &mut Timestamp[src]

pub fn take_end_time(&mut self) -> Timestamp[src]

pub fn get_duration_ns(&self) -> u64[src]

pub fn clear_duration_ns(&mut self)[src]

pub fn set_duration_ns(&mut self, v: u64)[src]

pub fn get_root(&self) -> &Trace_Node[src]

pub fn clear_root(&mut self)[src]

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

pub fn set_root(&mut self, v: Trace_Node)[src]

pub fn mut_root(&mut self) -> &mut Trace_Node[src]

pub fn take_root(&mut self) -> Trace_Node[src]

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

pub fn clear_signature(&mut self)[src]

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

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

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

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

pub fn clear_unexecutedOperationBody(&mut self)[src]

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

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

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

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

pub fn clear_unexecutedOperationName(&mut self)[src]

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

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

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

pub fn get_details(&self) -> &Trace_Details[src]

pub fn clear_details(&mut self)[src]

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

pub fn set_details(&mut self, v: Trace_Details)[src]

pub fn mut_details(&mut self) -> &mut Trace_Details[src]

pub fn take_details(&mut self) -> Trace_Details[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]

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

pub fn clear_client_address(&mut self)[src]

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

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

pub fn take_client_address(&mut self) -> String[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_http(&self) -> &Trace_HTTP[src]

pub fn clear_http(&mut self)[src]

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

pub fn set_http(&mut self, v: Trace_HTTP)[src]

pub fn mut_http(&mut self) -> &mut Trace_HTTP[src]

pub fn take_http(&mut self) -> Trace_HTTP[src]

pub fn get_cache_policy(&self) -> &Trace_CachePolicy[src]

pub fn clear_cache_policy(&mut self)[src]

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

pub fn set_cache_policy(&mut self, v: Trace_CachePolicy)[src]

pub fn mut_cache_policy(&mut self) -> &mut Trace_CachePolicy[src]

pub fn take_cache_policy(&mut self) -> Trace_CachePolicy[src]

pub fn get_query_plan(&self) -> &Trace_QueryPlanNode[src]

pub fn clear_query_plan(&mut self)[src]

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

pub fn set_query_plan(&mut self, v: Trace_QueryPlanNode)[src]

pub fn mut_query_plan(&mut self) -> &mut Trace_QueryPlanNode[src]

pub fn take_query_plan(&mut self) -> Trace_QueryPlanNode[src]

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

pub fn clear_full_query_cache_hit(&mut self)[src]

pub fn set_full_query_cache_hit(&mut self, v: bool)[src]

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

pub fn clear_persisted_query_hit(&mut self)[src]

pub fn set_persisted_query_hit(&mut self, v: bool)[src]

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

pub fn clear_persisted_query_register(&mut self)[src]

pub fn set_persisted_query_register(&mut self, v: bool)[src]

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

pub fn clear_registered_operation(&mut self)[src]

pub fn set_registered_operation(&mut self, v: bool)[src]

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

pub fn clear_forbidden_operation(&mut self)[src]

pub fn set_forbidden_operation(&mut self, v: bool)[src]

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

pub fn clear_legacy_signature_needs_resigning(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for Trace[src]

impl Clone for Trace[src]

impl Debug for Trace[src]

impl Default for Trace[src]

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

impl Message for Trace[src]

impl PartialEq<Trace> for Trace[src]

impl ProtobufValue for Trace[src]

impl StructuralPartialEq for Trace[src]

Auto Trait Implementations

impl RefUnwindSafe for Trace

impl Send for Trace

impl Sync for Trace

impl Unpin for Trace

impl UnwindSafe for Trace

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.