#[non_exhaustive]pub struct AliasConflict {
pub camel_target: String,
pub proto_values: Vec<String>,
}Expand description
One CamelCase collision: a target identifier and the proto value names that would all convert onto it.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.camel_target: StringThe UpperCamelCase identifier the colliding values map to.
proto_values: Vec<String>The proto value names that convert onto camel_target (includes a
literal variant name when an alias would shadow it).
Trait Implementations§
Source§impl Clone for AliasConflict
impl Clone for AliasConflict
Source§fn clone(&self) -> AliasConflict
fn clone(&self) -> AliasConflict
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AliasConflict
impl Debug for AliasConflict
impl Eq for AliasConflict
Source§impl PartialEq for AliasConflict
impl PartialEq for AliasConflict
Source§fn eq(&self, other: &AliasConflict) -> bool
fn eq(&self, other: &AliasConflict) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AliasConflict
Auto Trait Implementations§
impl Freeze for AliasConflict
impl RefUnwindSafe for AliasConflict
impl Send for AliasConflict
impl Sync for AliasConflict
impl Unpin for AliasConflict
impl UnsafeUnpin for AliasConflict
impl UnwindSafe for AliasConflict
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