Enum protobuf::reflect::RuntimeFieldType
source · [−]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 !RefUnwindSafe for RuntimeFieldType
impl Send for RuntimeFieldType
impl Sync for RuntimeFieldType
impl Unpin for RuntimeFieldType
impl !UnwindSafe for RuntimeFieldType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more