pub struct SortRequiresConfig {
pub enabled: bool,
}
Expand description
Configuration for the Sort Requires codemod
Fields§
§enabled: bool
Whether the sort requires codemod is enabled
Implementations§
Trait Implementations§
Source§impl Clone for SortRequiresConfig
impl Clone for SortRequiresConfig
Source§fn clone(&self) -> SortRequiresConfig
fn clone(&self) -> SortRequiresConfig
Returns a duplicate 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 Debug for SortRequiresConfig
impl Debug for SortRequiresConfig
Source§impl Default for SortRequiresConfig
impl Default for SortRequiresConfig
Source§fn default() -> SortRequiresConfig
fn default() -> SortRequiresConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SortRequiresConfigwhere
SortRequiresConfig: Default,
impl<'de> Deserialize<'de> for SortRequiresConfigwhere
SortRequiresConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for SortRequiresConfig
Auto Trait Implementations§
impl Freeze for SortRequiresConfig
impl RefUnwindSafe for SortRequiresConfig
impl Send for SortRequiresConfig
impl Sync for SortRequiresConfig
impl Unpin for SortRequiresConfig
impl UnwindSafe for SortRequiresConfig
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