pub struct NamingViolation {
pub pointer: String,
pub name: String,
pub kind: NameKind,
}Expand description
A property or parameter name that is not camelCase.
Fields§
§pointer: StringJSON pointer to the property entry or the parameter object.
name: StringThe offending name.
kind: NameKindWhether the name is a property or a parameter.
Trait Implementations§
Source§impl Clone for NamingViolation
impl Clone for NamingViolation
Source§impl Debug for NamingViolation
impl Debug for NamingViolation
Source§impl Display for NamingViolation
impl Display for NamingViolation
impl Eq for NamingViolation
Source§impl PartialEq for NamingViolation
impl PartialEq for NamingViolation
impl StructuralPartialEq for NamingViolation
Auto Trait Implementations§
impl Freeze for NamingViolation
impl RefUnwindSafe for NamingViolation
impl Send for NamingViolation
impl Sync for NamingViolation
impl Unpin for NamingViolation
impl UnsafeUnpin for NamingViolation
impl UnwindSafe for NamingViolation
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.