Struct kvproto::diagnosticspb::SearchLogRequest[][src]

pub struct SearchLogRequest {
    pub start_time: i64,
    pub end_time: i64,
    pub levels: Vec<LogLevel>,
    pub patterns: RepeatedField<String>,
    pub target: SearchLogRequestTarget,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

start_time: i64end_time: i64levels: Vec<LogLevel>patterns: RepeatedField<String>target: SearchLogRequestTargetunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl SearchLogRequest[src]

pub fn new() -> SearchLogRequest[src]

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

pub fn clear_start_time(&mut self)[src]

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

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

pub fn clear_end_time(&mut self)[src]

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

pub fn get_levels(&self) -> &[LogLevel][src]

pub fn clear_levels(&mut self)[src]

pub fn set_levels(&mut self, v: Vec<LogLevel>)[src]

pub fn mut_levels(&mut self) -> &mut Vec<LogLevel>[src]

pub fn take_levels(&mut self) -> Vec<LogLevel>[src]

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

pub fn clear_patterns(&mut self)[src]

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

pub fn mut_patterns(&mut self) -> &mut RepeatedField<String>[src]

pub fn take_patterns(&mut self) -> RepeatedField<String>[src]

pub fn get_target(&self) -> SearchLogRequestTarget[src]

pub fn clear_target(&mut self)[src]

pub fn set_target(&mut self, v: SearchLogRequestTarget)[src]

Trait Implementations

impl Clear for SearchLogRequest[src]

impl Clone for SearchLogRequest[src]

impl Debug for SearchLogRequest[src]

impl Default for SearchLogRequest[src]

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

impl Message for SearchLogRequest[src]

impl PartialEq<SearchLogRequest> for SearchLogRequest[src]

impl PbPrint for SearchLogRequest[src]

impl ProtobufValue for SearchLogRequest[src]

impl StructuralPartialEq for SearchLogRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SearchLogRequest

impl Send for SearchLogRequest

impl Sync for SearchLogRequest

impl Unpin for SearchLogRequest

impl UnwindSafe for SearchLogRequest

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.