pub enum ProtobufConstantMessageFieldName {
Regular(Ident),
Extension(ProtobufPath),
AnyTypeUrl(AnyTypeUrl),
}
Variants§
Trait Implementations§
source§impl Clone for ProtobufConstantMessageFieldName
impl Clone for ProtobufConstantMessageFieldName
source§fn clone(&self) -> ProtobufConstantMessageFieldName
fn clone(&self) -> ProtobufConstantMessageFieldName
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Parse for ProtobufConstantMessageFieldName
impl Parse for ProtobufConstantMessageFieldName
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl PartialEq for ProtobufConstantMessageFieldName
impl PartialEq for ProtobufConstantMessageFieldName
source§fn eq(&self, other: &ProtobufConstantMessageFieldName) -> bool
fn eq(&self, other: &ProtobufConstantMessageFieldName) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProtobufConstantMessageFieldName
impl StructuralPartialEq for ProtobufConstantMessageFieldName
Auto Trait Implementations§
impl Freeze for ProtobufConstantMessageFieldName
impl RefUnwindSafe for ProtobufConstantMessageFieldName
impl !Send for ProtobufConstantMessageFieldName
impl !Sync for ProtobufConstantMessageFieldName
impl Unpin for ProtobufConstantMessageFieldName
impl UnwindSafe for ProtobufConstantMessageFieldName
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.