Struct taplo_cli::config::SchemaOptions [−][src]
Expand description
Options for schema validation and completion.
Schemas in rules with defined keys are ignored.
Fields
enabled: Option<bool>Whether the schema should be enabled or not.
Defaults to true if omitted.
path: Option<String>Path to the schema.
The path of the schema, this can be either path to a local file path or an URL with the schemes taplo,
http or https. (file scheme is also accepted, it is the same as specifying a local path)
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for SchemaOptionsimpl Send for SchemaOptionsimpl Sync for SchemaOptionsimpl Unpin for SchemaOptionsimpl UnwindSafe for SchemaOptionsBlanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self