pub enum RuntimeFieldType {
Singular(RuntimeType),
Repeated(RuntimeType),
Map(RuntimeType, RuntimeType),
}
Expand description
Reflective representation of field type.
Variants§
Singular(RuntimeType)
Singular field (required, optional for proto2 or singular for proto3)
Repeated(RuntimeType)
Repeated field
Map(RuntimeType, RuntimeType)
Map field
Auto Trait Implementations§
impl Freeze for RuntimeFieldType
impl !RefUnwindSafe for RuntimeFieldType
impl Send for RuntimeFieldType
impl Sync for RuntimeFieldType
impl Unpin for RuntimeFieldType
impl !UnwindSafe for RuntimeFieldType
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