[][src]Struct taplo_cli::config::SchemaOptions

pub struct SchemaOptions {
    pub enabled: Option<bool>,
    pub path: Option<String>,
}

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

impl Clone for SchemaOptions[src]

impl Debug for SchemaOptions[src]

impl<'de> Deserialize<'de> for SchemaOptions[src]

impl Eq for SchemaOptions[src]

impl JsonSchema for SchemaOptions[src]

impl PartialEq<SchemaOptions> for SchemaOptions[src]

impl Serialize for SchemaOptions[src]

impl StructuralEq for SchemaOptions[src]

impl StructuralPartialEq for SchemaOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.