Struct protobuf::types::ProtobufTypeString
[−]
[src]
pub struct ProtobufTypeString;
Trait Implementations
impl ProtobufType for ProtobufTypeString
[src]
type Value = String
fn wire_type() -> WireType
[src]
fn read(is: &mut CodedInputStream) -> ProtobufResult<String>
[src]
fn compute_size(value: &String) -> u32
[src]
fn write_with_cached_size(
field_number: u32,
value: &String,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
[src]
field_number: u32,
value: &String,
os: &mut CodedOutputStream
) -> ProtobufResult<()>
fn compute_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
Compute size adding length prefix if wire type is length delimited (i. e. string, bytes, message) Read more
fn get_from_unknown(_unknown_values: &UnknownValues) -> Option<Self::Value>
[src]
fn get_cached_size(value: &Self::Value) -> u32
[src]
Get previously computed size
fn get_cached_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
Get previously cached size with length prefix