pub struct IgnoreExportsRule {
pub file: String,
pub exports: Vec<String>,
}Expand description
Single ignoreExports rule entry. The fallow config accepts an array of
these under the ignoreExports key.
Fields§
§file: StringFile path (forward slashes, relative to project root) to which this rule applies. Globs are accepted.
exports: Vec<String>Names of exports inside file to silently treat as used.
Trait Implementations§
Source§impl Clone for IgnoreExportsRule
impl Clone for IgnoreExportsRule
Source§impl Debug for IgnoreExportsRule
impl Debug for IgnoreExportsRule
Source§impl<'de> Deserialize<'de> for IgnoreExportsRule
impl<'de> Deserialize<'de> for IgnoreExportsRule
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
Auto Trait Implementations§
impl Freeze for IgnoreExportsRule
impl RefUnwindSafe for IgnoreExportsRule
impl Send for IgnoreExportsRule
impl Sync for IgnoreExportsRule
impl Unpin for IgnoreExportsRule
impl UnsafeUnpin for IgnoreExportsRule
impl UnwindSafe for IgnoreExportsRule
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