Struct kvproto::span::SpanSet[][src]

pub struct SpanSet {
    pub start_time_ns: u64,
    pub cycles_per_sec: u64,
    pub spans: RepeatedField<Span>,
    pub create_time_ns: u64,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

start_time_ns: u64cycles_per_sec: u64spans: RepeatedField<Span>create_time_ns: u64unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SpanSet[src]

pub fn new() -> SpanSet[src]

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

pub fn clear_start_time_ns(&mut self)[src]

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

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

pub fn clear_cycles_per_sec(&mut self)[src]

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

pub fn get_spans(&self) -> &[Span][src]

pub fn clear_spans(&mut self)[src]

pub fn set_spans(&mut self, v: RepeatedField<Span>)[src]

pub fn mut_spans(&mut self) -> &mut RepeatedField<Span>[src]

pub fn take_spans(&mut self) -> RepeatedField<Span>[src]

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

pub fn clear_create_time_ns(&mut self)[src]

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

Trait Implementations

impl Clear for SpanSet[src]

impl Clone for SpanSet[src]

impl Debug for SpanSet[src]

impl Default for SpanSet[src]

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

impl Message for SpanSet[src]

impl PartialEq<SpanSet> for SpanSet[src]

impl PbPrint for SpanSet[src]

impl ProtobufValue for SpanSet[src]

impl StructuralPartialEq for SpanSet[src]

Auto Trait Implementations

impl RefUnwindSafe for SpanSet

impl Send for SpanSet

impl Sync for SpanSet

impl Unpin for SpanSet

impl UnwindSafe for SpanSet

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.