pub struct QueryJson {
    pub query: String,
    pub tag: Tag,
}

Fields

query: Stringtag: Tag

Implementations

Trait Implementations

Returns the “default value” for a type. Read more

The config method is used to configure a plugin’s user interface / signature. Read more

begin_filter is the first method to be called if the Signature of the plugin is configured to be filterable. Any setup required for the plugin such as parsing arguments from CallInfo or initializing data structures can be done here. The CallInfo parameter will contain data configured in the config method of the Plugin trait. Read more

filter is called for every Value that is processed by the plugin. This method requires the plugin Signature to be configured as filterable. Read more

end_filter is the last method to be called by the plugin after all Values are processed by the plugin. This method requires the plugin Signature to be configured as filterable. Read more

sink consumes the Values that are passed in, preventing further processing. This method requires the plugin Signature to be configured without filtering. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts a value into a Spanned value

Converts a value into a Spanned value, using an unknown Span

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.