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 Forget for ProtoField
impl Freeze for ProtoField
impl Move for ProtoField
impl RefUnwindSafe for ProtoField
impl Send for ProtoFieldwhere
RawVecInner: Send,
impl Sync for ProtoFieldwhere
RawVecInner: Sync,
impl Unpin for ProtoField
impl UnsafeUnpin for ProtoField
impl UnwindSafe for ProtoFieldwhere
RawVecInner: UnwindSafe,
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