pub struct ProtoField {
pub name: String,
pub ty: String,
pub tag: u32,
}Expand description
One field, from either a .proto message or a struct’s #[prost(..)]
attributes. ty is the bare type token ("string", "sint64", …).
Fields§
§name: String§ty: String§tag: u32Trait Implementations§
Source§impl Clone for ProtoField
impl Clone for ProtoField
Source§impl Debug for ProtoField
impl Debug for ProtoField
Source§impl PartialEq for ProtoField
impl PartialEq for ProtoField
impl StructuralPartialEq for ProtoField
Auto Trait Implementations§
impl Freeze for ProtoField
impl RefUnwindSafe for ProtoField
impl Send for ProtoField
impl Sync for ProtoField
impl Unpin for ProtoField
impl UnsafeUnpin for ProtoField
impl UnwindSafe for ProtoField
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