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 SchemaOptions
impl Send for SchemaOptions
impl Sync for SchemaOptions
impl Unpin for SchemaOptions
impl UnwindSafe for SchemaOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more