[−][src]Struct ieql::query::response::Response
Represents a response—in other words, the parameters for outputs.
This type does not compile as it has 'no moving parts'—it is simply information that is passed along to the scanning system to guide it as it generates outputs.
This type is parallel, but different, from the
Output
type. You can think of a Response
as the
parameters for creating Outputs; not as the outputs
themselves.
Fields
kind: ResponseKind
Represents the kind of the response, which corresponds
to the possible types of Output
s: Full
and Partial
.
For more information about Full
and Partial
responses,
see the documentation for ResponseKind
and Output
.
include: Vec<ResponseItem>
Represents the type of information that should be included
in the Output
.
For more information about response items, see the
documentation for ResponseItem
and OutputItem
.
Trait Implementations
impl Validatable for Response
[src]
fn validate(&self) -> Option<Vec<Issue>>
[src]
Validates the Response and ensures that no invalid parameters are present.
More specifically, this function ensures that Excerpt
and Url
,
which are not reducable, are not present in include
.
impl PartialEq<Response> for Response
[src]
impl Clone for Response
[src]
fn clone(&self) -> Response
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Response
[src]
impl Serialize for Response
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for Response
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,