pub struct IgnoreExportsUsedInFileByKind {
pub type_: bool,
pub interface: bool,
}Expand description
Knip-compatible ignoreExportsUsedInFile object form.
Fields§
§type_: boolSuppress same-file references for exported type aliases.
interface: boolSuppress same-file references for exported interfaces.
Trait Implementations§
Source§impl Clone for IgnoreExportsUsedInFileByKind
impl Clone for IgnoreExportsUsedInFileByKind
Source§fn clone(&self) -> IgnoreExportsUsedInFileByKind
fn clone(&self) -> IgnoreExportsUsedInFileByKind
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 Default for IgnoreExportsUsedInFileByKind
impl Default for IgnoreExportsUsedInFileByKind
Source§fn default() -> IgnoreExportsUsedInFileByKind
fn default() -> IgnoreExportsUsedInFileByKind
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for IgnoreExportsUsedInFileByKind
impl<'de> Deserialize<'de> for IgnoreExportsUsedInFileByKind
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
Source§impl From<IgnoreExportsUsedInFileByKind> for IgnoreExportsUsedInFileConfig
impl From<IgnoreExportsUsedInFileByKind> for IgnoreExportsUsedInFileConfig
Source§fn from(value: IgnoreExportsUsedInFileByKind) -> Self
fn from(value: IgnoreExportsUsedInFileByKind) -> Self
Converts to this type from the input type.
Source§impl JsonSchema for IgnoreExportsUsedInFileByKind
impl JsonSchema for IgnoreExportsUsedInFileByKind
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for IgnoreExportsUsedInFileByKind
impl PartialEq for IgnoreExportsUsedInFileByKind
Source§fn eq(&self, other: &IgnoreExportsUsedInFileByKind) -> bool
fn eq(&self, other: &IgnoreExportsUsedInFileByKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for IgnoreExportsUsedInFileByKind
impl Eq for IgnoreExportsUsedInFileByKind
impl StructuralPartialEq for IgnoreExportsUsedInFileByKind
Auto Trait Implementations§
impl Freeze for IgnoreExportsUsedInFileByKind
impl RefUnwindSafe for IgnoreExportsUsedInFileByKind
impl Send for IgnoreExportsUsedInFileByKind
impl Sync for IgnoreExportsUsedInFileByKind
impl Unpin for IgnoreExportsUsedInFileByKind
impl UnsafeUnpin for IgnoreExportsUsedInFileByKind
impl UnwindSafe for IgnoreExportsUsedInFileByKind
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