This enum represents a possible output item. OutputItem
s are typically
user-meaningful, and are not machine readable. The items included in the
output are dependent on the response
configuration of the query.
Much of this information is simply copied from the metadata of the document
that produced it.
Represents the URL of the document that matched the query, if present.
There is no guarantee that this will be a valid url; if the mechanism
by which documents are loaded provides a faulty or invalid URL (such as
a local filepath, as the command line interface does when loading documents),
this URL will be unchanged.
Represents a valid IETF MIME type, as per RFC 2045.
Domain(Option<String>)
Represents the domain (or hostname) of the Url
. When the URL is not present, neither
will the domain be.
Contains any number of PatternMatch
es—in other words, excerpts.
This method tests for self
and other
values to be equal, and is used by ==
. Read more
This method tests for !=
.
Formats the value using the given formatter. Read more
Serialize this value into the given Serde serializer. Read more
Deserialize this value from the given Serde deserializer. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static