## Field

# Enum Field

Source

    enum Field {
    Show 94 variants    absolute_paths_allowed_crates,
        absolute_paths_max_segments,
        accept_comment_above_attributes,
        accept_comment_above_statement,
        allow_comparison_to_zero,
        allow_dbg_in_tests,
        allow_exact_repetitions,
        allow_expect_in_consts,
        allow_expect_in_tests,
        allow_indexing_slicing_in_tests,
        allow_mixed_uninlined_format_args,
        allow_one_hash_in_raw_strings,
        allow_panic_in_tests,
        allow_print_in_tests,
        allow_private_module_inception,
        allow_renamed_params_for,
        allow_unwrap_in_consts,
        allow_unwrap_in_tests,
        allow_useless_vec_in_tests,
        allowed_dotfiles,
        allowed_duplicate_crates,
        allowed_idents_below_min_chars,
        allowed_prefixes,
        allowed_scripts,
        allowed_wildcard_imports,
        arithmetic_side_effects_allowed,
        arithmetic_side_effects_allowed_binary,
        arithmetic_side_effects_allowed_unary,
        array_size_threshold,
        avoid_breaking_exported_api,
        await_holding_invalid_types,
        blacklisted_names,
        cargo_ignore_publish,
        check_incompatible_msrv_in_tests,
        check_inconsistent_struct_field_initializers,
        check_private_items,
        cognitive_complexity_threshold,
        const_literal_digits_threshold,
        cyclomatic_complexity_threshold,
        disallowed_macros,
        disallowed_methods,
        disallowed_names,
        disallowed_types,
        doc_valid_idents,
        enable_raw_pointer_heuristic_for_send,
        enforce_iter_loop_reborrow,
        enforced_import_renames,
        enum_variant_name_threshold,
        enum_variant_size_threshold,
        excessive_nesting_threshold,
        future_size_threshold,
        ignore_interior_mutability,
        inherent_impl_lint_scope,
        large_error_threshold,
        lint_commented_code,
        lint_inconsistent_struct_field_initializers,
        literal_representation_threshold,
        matches_for_let_else,
        max_fn_params_bools,
        max_include_file_size,
        max_struct_bools,
        max_suggested_slice_pattern_length,
        max_trait_bounds,
        min_ident_chars_threshold,
        missing_docs_allow_unused,
        missing_docs_in_crate_items,
        module_item_order_groupings,
        module_items_ordered_within_groupings,
        msrv,
        pass_by_value_size_limit,
        pub_underscore_fields_behavior,
        recursive_self_in_type_definitions,
        semicolon_inside_block_ignore_singleline,
        semicolon_outside_block_ignore_multiline,
        single_char_binding_names_threshold,
        source_item_ordering,
        stack_size_threshold,
        standard_macro_braces,
        struct_field_name_threshold,
        suppress_restriction_lint_in_const,
        too_large_for_stack,
        too_many_arguments_threshold,
        too_many_lines_threshold,
        trait_assoc_item_kinds_order,
        trivial_copy_size_limit,
        type_complexity_threshold,
        unnecessary_box_size,
        unreadable_literal_lint_fractions,
        upper_case_acronyms_aggressive,
        vec_box_size_threshold,
        verbose_bit_mask_threshold,
        warn_on_all_wildcard_imports,
        warn_unsafe_macro_metavars_in_private_macros,
        third_party,
    }

## Variants§

§

### absolute_paths_allowed_crates

§

### absolute_paths_max_segments

§

### accept_comment_above_attributes

§

### accept_comment_above_statement

§

### allow_comparison_to_zero

§

### allow_dbg_in_tests

§

### allow_exact_repetitions

§

### allow_expect_in_consts

§

### allow_expect_in_tests

§

### allow_indexing_slicing_in_tests

§

### allow_mixed_uninlined_format_args

§

### allow_one_hash_in_raw_strings

§

### allow_panic_in_tests

§

### allow_print_in_tests

§

### allow_private_module_inception

§

### allow_renamed_params_for

§

### allow_unwrap_in_consts

§

### allow_unwrap_in_tests

§

### allow_useless_vec_in_tests

§

### allowed_dotfiles

§

### allowed_duplicate_crates

§

### allowed_idents_below_min_chars

§

### allowed_prefixes

§

### allowed_scripts

§

### allowed_wildcard_imports

§

### arithmetic_side_effects_allowed

§

### arithmetic_side_effects_allowed_binary

§

### arithmetic_side_effects_allowed_unary

§

### array_size_threshold

§

### avoid_breaking_exported_api

§

### await_holding_invalid_types

§

### blacklisted_names

§

### cargo_ignore_publish

§

### check_incompatible_msrv_in_tests

§

### check_inconsistent_struct_field_initializers

§

### check_private_items

§

### cognitive_complexity_threshold

§

### const_literal_digits_threshold

§

### cyclomatic_complexity_threshold

§

### disallowed_macros

§

### disallowed_methods

§

### disallowed_names

§

### disallowed_types

§

### doc_valid_idents

§

### enable_raw_pointer_heuristic_for_send

§

### enforce_iter_loop_reborrow

§

### enforced_import_renames

§

### enum_variant_name_threshold

§

### enum_variant_size_threshold

§

### excessive_nesting_threshold

§

### future_size_threshold

§

### ignore_interior_mutability

§

### inherent_impl_lint_scope

§

### large_error_threshold

§

### lint_commented_code

§

### lint_inconsistent_struct_field_initializers

§

### literal_representation_threshold

§

### matches_for_let_else

§

### max_fn_params_bools

§

### max_include_file_size

§

### max_struct_bools

§

### max_suggested_slice_pattern_length

§

### max_trait_bounds

§

### min_ident_chars_threshold

§

### missing_docs_allow_unused

§

### missing_docs_in_crate_items

§

### module_item_order_groupings

§

### module_items_ordered_within_groupings

§

### msrv

§

### pass_by_value_size_limit

§

### pub_underscore_fields_behavior

§

### recursive_self_in_type_definitions

§

### semicolon_inside_block_ignore_singleline

§

### semicolon_outside_block_ignore_multiline

§

### single_char_binding_names_threshold

§

### source_item_ordering

§

### stack_size_threshold

§

### standard_macro_braces

§

### struct_field_name_threshold

§

### suppress_restriction_lint_in_const

§

### too_large_for_stack

§

### too_many_arguments_threshold

§

### too_many_lines_threshold

§

### trait_assoc_item_kinds_order

§

### trivial_copy_size_limit

§

### type_complexity_threshold

§

### unnecessary_box_size

§

### unreadable_literal_lint_fractions

§

### upper_case_acronyms_aggressive

§

### vec_box_size_threshold

§

### verbose_bit_mask_threshold

§

### warn_on_all_wildcard_imports

§

### warn_unsafe_macro_metavars_in_private_macros

§

### third_party

## Trait Implementations§

Source§

### impl<'de> Deserialize<'de> for Field

Source§

#### fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more

## Auto Trait Implementations§

§

### impl Freeze for Field

§

### impl RefUnwindSafe for Field

§

### impl Send for Field

§

### impl Sync for Field

§

### impl Unpin for Field

§

### impl UnwindSafe for Field

## Blanket Implementations§

Source§

### impl<T> Any for T
where T: 'static + ?Sized,

Source§

#### fn type_id(&self) -> TypeId

Gets the `TypeId` of `self`. Read more
Source§

### impl<T> Borrow<T> for T
where T: ?Sized,

Source§

#### fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

### impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

#### fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

### impl<T> From<T> for T

Source§

#### fn from(t: T) -> T

Returns the argument unchanged.

Source§

### impl<T, U> Into<U> for T
where U: From<T>,

Source§

#### fn into(self) -> U

Calls `U::from(self)`.

That is, this conversion is whatever the implementation of `From<T> for U` chooses to do.

Source§

### impl<T> IntoEither for T

Source§

#### fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts `self` into a `Left` variant of `Either<Self, Self>` if `into_left` is `true`. Converts `self` into a `Right` variant of `Either<Self, Self>` otherwise. Read more
Source§

#### fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts `self` into a `Left` variant of `Either<Self, Self>` if `into_left(&self)` returns `true`. Converts `self` into a `Right` variant of `Either<Self, Self>` otherwise. Read more
Source§

### impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

#### type Error = Infallible

The type returned in the event of a conversion error.
Source§

#### fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

### impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

#### type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

#### fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

### impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

## Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain `repr(...)` attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 1 byte

Size for each variant:

- `absolute_paths_allowed_crates`: 0 bytes
- `absolute_paths_max_segments`: 0 bytes
- `accept_comment_above_attributes`: 0 bytes
- `accept_comment_above_statement`: 0 bytes
- `allow_comparison_to_zero`: 0 bytes
- `allow_dbg_in_tests`: 0 bytes
- `allow_exact_repetitions`: 0 bytes
- `allow_expect_in_consts`: 0 bytes
- `allow_expect_in_tests`: 0 bytes
- `allow_indexing_slicing_in_tests`: 0 bytes
- `allow_mixed_uninlined_format_args`: 0 bytes
- `allow_one_hash_in_raw_strings`: 0 bytes
- `allow_panic_in_tests`: 0 bytes
- `allow_print_in_tests`: 0 bytes
- `allow_private_module_inception`: 0 bytes
- `allow_renamed_params_for`: 0 bytes
- `allow_unwrap_in_consts`: 0 bytes
- `allow_unwrap_in_tests`: 0 bytes
- `allow_useless_vec_in_tests`: 0 bytes
- `allowed_dotfiles`: 0 bytes
- `allowed_duplicate_crates`: 0 bytes
- `allowed_idents_below_min_chars`: 0 bytes
- `allowed_prefixes`: 0 bytes
- `allowed_scripts`: 0 bytes
- `allowed_wildcard_imports`: 0 bytes
- `arithmetic_side_effects_allowed`: 0 bytes
- `arithmetic_side_effects_allowed_binary`: 0 bytes
- `arithmetic_side_effects_allowed_unary`: 0 bytes
- `array_size_threshold`: 0 bytes
- `avoid_breaking_exported_api`: 0 bytes
- `await_holding_invalid_types`: 0 bytes
- `blacklisted_names`: 0 bytes
- `cargo_ignore_publish`: 0 bytes
- `check_incompatible_msrv_in_tests`: 0 bytes
- `check_inconsistent_struct_field_initializers`: 0 bytes
- `check_private_items`: 0 bytes
- `cognitive_complexity_threshold`: 0 bytes
- `const_literal_digits_threshold`: 0 bytes
- `cyclomatic_complexity_threshold`: 0 bytes
- `disallowed_macros`: 0 bytes
- `disallowed_methods`: 0 bytes
- `disallowed_names`: 0 bytes
- `disallowed_types`: 0 bytes
- `doc_valid_idents`: 0 bytes
- `enable_raw_pointer_heuristic_for_send`: 0 bytes
- `enforce_iter_loop_reborrow`: 0 bytes
- `enforced_import_renames`: 0 bytes
- `enum_variant_name_threshold`: 0 bytes
- `enum_variant_size_threshold`: 0 bytes
- `excessive_nesting_threshold`: 0 bytes
- `future_size_threshold`: 0 bytes
- `ignore_interior_mutability`: 0 bytes
- `inherent_impl_lint_scope`: 0 bytes
- `large_error_threshold`: 0 bytes
- `lint_commented_code`: 0 bytes
- `lint_inconsistent_struct_field_initializers`: 0 bytes
- `literal_representation_threshold`: 0 bytes
- `matches_for_let_else`: 0 bytes
- `max_fn_params_bools`: 0 bytes
- `max_include_file_size`: 0 bytes
- `max_struct_bools`: 0 bytes
- `max_suggested_slice_pattern_length`: 0 bytes
- `max_trait_bounds`: 0 bytes
- `min_ident_chars_threshold`: 0 bytes
- `missing_docs_allow_unused`: 0 bytes
- `missing_docs_in_crate_items`: 0 bytes
- `module_item_order_groupings`: 0 bytes
- `module_items_ordered_within_groupings`: 0 bytes
- `msrv`: 0 bytes
- `pass_by_value_size_limit`: 0 bytes
- `pub_underscore_fields_behavior`: 0 bytes
- `recursive_self_in_type_definitions`: 0 bytes
- `semicolon_inside_block_ignore_singleline`: 0 bytes
- `semicolon_outside_block_ignore_multiline`: 0 bytes
- `single_char_binding_names_threshold`: 0 bytes
- `source_item_ordering`: 0 bytes
- `stack_size_threshold`: 0 bytes
- `standard_macro_braces`: 0 bytes
- `struct_field_name_threshold`: 0 bytes
- `suppress_restriction_lint_in_const`: 0 bytes
- `too_large_for_stack`: 0 bytes
- `too_many_arguments_threshold`: 0 bytes
- `too_many_lines_threshold`: 0 bytes
- `trait_assoc_item_kinds_order`: 0 bytes
- `trivial_copy_size_limit`: 0 bytes
- `type_complexity_threshold`: 0 bytes
- `unnecessary_box_size`: 0 bytes
- `unreadable_literal_lint_fractions`: 0 bytes
- `upper_case_acronyms_aggressive`: 0 bytes
- `vec_box_size_threshold`: 0 bytes
- `verbose_bit_mask_threshold`: 0 bytes
- `warn_on_all_wildcard_imports`: 0 bytes
- `warn_unsafe_macro_metavars_in_private_macros`: 0 bytes
- `third_party`: 0 bytes