#[non_exhaustive]pub enum Warning {
DuplicateImport(DuplicateImport),
NonCamelCaseEnum(NonCamelCaseEnum),
NonCamelCaseEnumVariant(NonCamelCaseEnumVariant),
NonCamelCaseService(NonCamelCaseService),
NonCamelCaseStruct(NonCamelCaseStruct),
NonShoutySnakeCaseConst(NonShoutySnakeCaseConst),
NonSnakeCaseEvent(NonSnakeCaseEvent),
NonSnakeCaseFunction(NonSnakeCaseFunction),
NonSnakeCaseSchemaName(NonSnakeCaseSchemaName),
NonSnakeCaseStructField(NonSnakeCaseStructField),
UnusedImport(UnusedImport),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DuplicateImport(DuplicateImport)
NonCamelCaseEnum(NonCamelCaseEnum)
NonCamelCaseEnumVariant(NonCamelCaseEnumVariant)
NonCamelCaseService(NonCamelCaseService)
NonCamelCaseStruct(NonCamelCaseStruct)
NonShoutySnakeCaseConst(NonShoutySnakeCaseConst)
NonSnakeCaseEvent(NonSnakeCaseEvent)
NonSnakeCaseFunction(NonSnakeCaseFunction)
NonSnakeCaseSchemaName(NonSnakeCaseSchemaName)
NonSnakeCaseStructField(NonSnakeCaseStructField)
UnusedImport(UnusedImport)
Trait Implementations§
Source§impl Diagnostic for Warning
impl Diagnostic for Warning
Source§impl From<DuplicateImport> for Warning
impl From<DuplicateImport> for Warning
Source§fn from(w: DuplicateImport) -> Self
fn from(w: DuplicateImport) -> Self
Converts to this type from the input type.
Source§impl From<NonCamelCaseEnum> for Warning
impl From<NonCamelCaseEnum> for Warning
Source§fn from(w: NonCamelCaseEnum) -> Self
fn from(w: NonCamelCaseEnum) -> Self
Converts to this type from the input type.
Source§impl From<NonCamelCaseEnumVariant> for Warning
impl From<NonCamelCaseEnumVariant> for Warning
Source§fn from(w: NonCamelCaseEnumVariant) -> Self
fn from(w: NonCamelCaseEnumVariant) -> Self
Converts to this type from the input type.
Source§impl From<NonCamelCaseService> for Warning
impl From<NonCamelCaseService> for Warning
Source§fn from(w: NonCamelCaseService) -> Self
fn from(w: NonCamelCaseService) -> Self
Converts to this type from the input type.
Source§impl From<NonCamelCaseStruct> for Warning
impl From<NonCamelCaseStruct> for Warning
Source§fn from(w: NonCamelCaseStruct) -> Self
fn from(w: NonCamelCaseStruct) -> Self
Converts to this type from the input type.
Source§impl From<NonShoutySnakeCaseConst> for Warning
impl From<NonShoutySnakeCaseConst> for Warning
Source§fn from(w: NonShoutySnakeCaseConst) -> Self
fn from(w: NonShoutySnakeCaseConst) -> Self
Converts to this type from the input type.
Source§impl From<NonSnakeCaseEvent> for Warning
impl From<NonSnakeCaseEvent> for Warning
Source§fn from(w: NonSnakeCaseEvent) -> Self
fn from(w: NonSnakeCaseEvent) -> Self
Converts to this type from the input type.
Source§impl From<NonSnakeCaseFunction> for Warning
impl From<NonSnakeCaseFunction> for Warning
Source§fn from(w: NonSnakeCaseFunction) -> Self
fn from(w: NonSnakeCaseFunction) -> Self
Converts to this type from the input type.
Source§impl From<NonSnakeCaseSchemaName> for Warning
impl From<NonSnakeCaseSchemaName> for Warning
Source§fn from(w: NonSnakeCaseSchemaName) -> Self
fn from(w: NonSnakeCaseSchemaName) -> Self
Converts to this type from the input type.
Source§impl From<NonSnakeCaseStructField> for Warning
impl From<NonSnakeCaseStructField> for Warning
Source§fn from(w: NonSnakeCaseStructField) -> Self
fn from(w: NonSnakeCaseStructField) -> Self
Converts to this type from the input type.
Source§impl From<UnusedImport> for Warning
impl From<UnusedImport> for Warning
Source§fn from(w: UnusedImport) -> Self
fn from(w: UnusedImport) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Warning
impl RefUnwindSafe for Warning
impl Send for Warning
impl Sync for Warning
impl Unpin for Warning
impl UnwindSafe for Warning
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