Struct kvproto::import_kvpb::GetVersionResponse[][src]

pub struct GetVersionResponse {
    pub version: String,
    pub commit: String,
    pub unknown_fields: UnknownFields,
    pub cached_size: CachedSize,
}

Fields

version: Stringcommit: Stringunknown_fields: UnknownFieldscached_size: CachedSize

Implementations

impl GetVersionResponse[src]

pub fn new() -> GetVersionResponse[src]

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

pub fn clear_version(&mut self)[src]

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

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

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

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

pub fn clear_commit(&mut self)[src]

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

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

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

Trait Implementations

impl Clear for GetVersionResponse[src]

impl Clone for GetVersionResponse[src]

impl Debug for GetVersionResponse[src]

impl Default for GetVersionResponse[src]

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

impl Message for GetVersionResponse[src]

impl PartialEq<GetVersionResponse> for GetVersionResponse[src]

impl PbPrint for GetVersionResponse[src]

impl ProtobufValue for GetVersionResponse[src]

impl StructuralPartialEq for GetVersionResponse[src]

Auto Trait Implementations

impl RefUnwindSafe for GetVersionResponse

impl Send for GetVersionResponse

impl Sync for GetVersionResponse

impl Unpin for GetVersionResponse

impl UnwindSafe for GetVersionResponse

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.