Struct kvproto::span::Span[][src]

pub struct Span {
    pub id: u64,
    pub link: SingularPtrField<Link>,
    pub begin_cycles: u64,
    pub end_cycles: u64,
    pub event: u32,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

id: u64link: SingularPtrField<Link>begin_cycles: u64end_cycles: u64event: u32unknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl Span[src]

pub fn new() -> Span[src]

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

pub fn clear_id(&mut self)[src]

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

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

pub fn clear_begin_cycles(&mut self)[src]

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

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

pub fn clear_end_cycles(&mut self)[src]

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

pub fn get_event(&self) -> u32[src]

pub fn clear_event(&mut self)[src]

pub fn set_event(&mut self, v: u32)[src]

Trait Implementations

impl Clear for Span[src]

impl Clone for Span[src]

impl Debug for Span[src]

impl Default for Span[src]

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

impl Message for Span[src]

impl PartialEq<Span> for Span[src]

impl PbPrint for Span[src]

impl ProtobufValue for Span[src]

impl StructuralPartialEq for Span[src]

Auto Trait Implementations

impl RefUnwindSafe for Span

impl Send for Span

impl Sync for Span

impl Unpin for Span

impl UnwindSafe for Span

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.