pub struct ProtoTextMessage {
pub fields: Vec<ProtoTextField>,
}Expand description
Lossless representation of a protobuf message.
Corresponds to prototext.proto / Message.
Fields§
§fields: Vec<ProtoTextField>Repeated Field (proto field 1).
Trait Implementations§
Source§impl Clone for ProtoTextMessage
impl Clone for ProtoTextMessage
Source§fn clone(&self) -> ProtoTextMessage
fn clone(&self) -> ProtoTextMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProtoTextMessage
impl Debug for ProtoTextMessage
Source§impl Default for ProtoTextMessage
impl Default for ProtoTextMessage
Source§fn default() -> ProtoTextMessage
fn default() -> ProtoTextMessage
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProtoTextMessage
impl RefUnwindSafe for ProtoTextMessage
impl Send for ProtoTextMessage
impl Sync for ProtoTextMessage
impl Unpin for ProtoTextMessage
impl UnsafeUnpin for ProtoTextMessage
impl UnwindSafe for ProtoTextMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more