pub struct ProtoMessage {
pub name: String,
pub fields: Vec<ProtoField>,
}Expand description
Proto message definition.
Fields§
§name: String§fields: Vec<ProtoField>Trait Implementations§
Source§impl Clone for ProtoMessage
impl Clone for ProtoMessage
Source§fn clone(&self) -> ProtoMessage
fn clone(&self) -> ProtoMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ProtoMessage
impl RefUnwindSafe for ProtoMessage
impl Send for ProtoMessage
impl Sync for ProtoMessage
impl Unpin for ProtoMessage
impl UnsafeUnpin for ProtoMessage
impl UnwindSafe for ProtoMessage
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