Struct dat_network_protocol::data::Data
[−]
[src]
pub struct Data { /* fields omitted */ }
Methods
impl Data
[src]
pub fn new() -> Data
[src]
pub fn default_instance() -> &'static Data
[src]
pub fn clear_index(&mut self)
[src]
pub fn has_index(&self) -> bool
[src]
pub fn set_index(&mut self, v: u64)
[src]
pub fn get_index(&self) -> u64
[src]
pub fn clear_value(&mut self)
[src]
pub fn has_value(&self) -> bool
[src]
pub fn set_value(&mut self, v: Vec<u8>)
[src]
pub fn mut_value(&mut self) -> &mut Vec<u8>
[src]
pub fn take_value(&mut self) -> Vec<u8>
[src]
pub fn get_value(&self) -> &[u8]
[src]
pub fn clear_nodes(&mut self)
[src]
pub fn set_nodes(&mut self, v: RepeatedField<Data_Node>)
[src]
pub fn mut_nodes(&mut self) -> &mut RepeatedField<Data_Node>
[src]
pub fn take_nodes(&mut self) -> RepeatedField<Data_Node>
[src]
pub fn get_nodes(&self) -> &[Data_Node]
[src]
pub fn clear_signature(&mut self)
[src]
pub fn has_signature(&self) -> bool
[src]
pub fn set_signature(&mut self, v: Vec<u8>)
[src]
pub fn mut_signature(&mut self) -> &mut Vec<u8>
[src]
pub fn take_signature(&mut self) -> Vec<u8>
[src]
pub fn get_signature(&self) -> &[u8]
[src]
Trait Implementations
impl PartialEq for Data
[src]
fn eq(&self, __arg_0: &Data) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Data) -> bool
[src]
This method tests for !=
.
impl Clone for Data
[src]
fn clone(&self) -> Data
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for Data
[src]
impl Sync for Data
[src]
impl Message for Data
[src]
fn is_initialized(&self) -> bool
[src]
fn merge_from(&mut self, is: &mut CodedInputStream) -> ProtobufResult<()>
[src]
fn compute_size(&self) -> u32
[src]
fn write_to_with_cached_sizes(
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
&self,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn get_cached_size(&self) -> u32
[src]
fn get_unknown_fields(&self) -> &UnknownFields
[src]
fn mut_unknown_fields(&mut self) -> &mut UnknownFields
[src]
fn as_any(&self) -> &Any
[src]
fn as_any_mut(&mut self) -> &mut Any
[src]
fn into_any(self: Box<Self>) -> Box<Any>
[src]
fn descriptor(&self) -> &'static MessageDescriptor
[src]
fn write_to(&self, os: &mut CodedOutputStream) -> Result<(), ProtobufError>
[src]
fn write_length_delimited_to(
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
[src]
&self,
os: &mut CodedOutputStream
) -> Result<(), ProtobufError>
fn write_length_delimited_to_vec(
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
[src]
&self,
vec: &mut Vec<u8>
) -> Result<(), ProtobufError>
fn merge_from_bytes(&mut self, bytes: &[u8]) -> Result<(), ProtobufError>
[src]
fn check_initialized(&self) -> Result<(), ProtobufError>
[src]
fn write_to_writer(&self, w: &mut Write) -> Result<(), ProtobufError>
[src]
fn write_to_vec(&self, v: &mut Vec<u8>) -> Result<(), ProtobufError>
[src]
fn write_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn write_length_delimited_to_writer(
&self,
w: &mut Write
) -> Result<(), ProtobufError>
[src]
&self,
w: &mut Write
) -> Result<(), ProtobufError>
fn write_length_delimited_to_bytes(&self) -> Result<Vec<u8>, ProtobufError>
[src]
fn type_id(&self) -> TypeId
[src]
impl MessageStatic for Data
[src]
fn new() -> Data
[src]
fn descriptor_static(_: Option<Data>) -> &'static MessageDescriptor
[src]
impl Clear for Data
[src]
impl Debug for Data
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more