Struct grpc_etcd::rpc::WatchCreateRequest
[−]
[src]
pub struct WatchCreateRequest {
pub key: Vec<u8>,
pub range_end: Vec<u8>,
pub start_revision: i64,
pub progress_notify: bool,
pub filters: Vec<WatchCreateRequest_FilterType>,
pub prev_kv: bool,
// some fields omitted
}Fields
key: Vec<u8>
range_end: Vec<u8>
start_revision: i64
progress_notify: bool
filters: Vec<WatchCreateRequest_FilterType>
prev_kv: bool
Methods
impl WatchCreateRequest[src]
fn new() -> WatchCreateRequest
fn default_instance() -> &'static WatchCreateRequest
fn clear_key(&mut self)
fn set_key(&mut self, v: Vec<u8>)
fn mut_key(&mut self) -> &mut Vec<u8>
fn take_key(&mut self) -> Vec<u8>
fn get_key(&self) -> &[u8]
fn clear_range_end(&mut self)
fn set_range_end(&mut self, v: Vec<u8>)
fn mut_range_end(&mut self) -> &mut Vec<u8>
fn take_range_end(&mut self) -> Vec<u8>
fn get_range_end(&self) -> &[u8]
fn clear_start_revision(&mut self)
fn set_start_revision(&mut self, v: i64)
fn get_start_revision(&self) -> i64
fn clear_progress_notify(&mut self)
fn set_progress_notify(&mut self, v: bool)
fn get_progress_notify(&self) -> bool
fn clear_filters(&mut self)
fn set_filters(&mut self, v: Vec<WatchCreateRequest_FilterType>)
fn mut_filters(&mut self) -> &mut Vec<WatchCreateRequest_FilterType>
fn take_filters(&mut self) -> Vec<WatchCreateRequest_FilterType>
fn get_filters(&self) -> &[WatchCreateRequest_FilterType]
fn clear_prev_kv(&mut self)
fn set_prev_kv(&mut self, v: bool)
fn get_prev_kv(&self) -> bool
Trait Implementations
impl PartialEq for WatchCreateRequest[src]
fn eq(&self, __arg_0: &WatchCreateRequest) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &WatchCreateRequest) -> bool
This method tests for !=.
impl Clone for WatchCreateRequest[src]
fn clone(&self) -> WatchCreateRequest
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Default for WatchCreateRequest[src]
fn default() -> WatchCreateRequest
Returns the "default value" for a type. Read more
impl Sync for WatchCreateRequest[src]
impl Message for WatchCreateRequest[src]
fn is_initialized(&self) -> bool
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
fn compute_size(&self) -> u32
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
fn get_unknown_fields(&self) -> &UnknownFields
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
fn as_any(&self) -> &Any
fn as_any_mut(&mut self) -> &mut Any
fn into_any(self: Box<Self>) -> Box<Any>
fn descriptor(&self) -> &'static MessageDescriptor
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
fn check_initialized(&self) -> Result<(), ProtobufError>
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
&self,
w: &mut Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
fn type_id(&self) -> TypeId
impl MessageStatic for WatchCreateRequest[src]
fn new() -> WatchCreateRequest
fn descriptor_static(
_: Option<WatchCreateRequest>
) -> &'static MessageDescriptor
_: Option<WatchCreateRequest>
) -> &'static MessageDescriptor