Struct elastic::client::responses::GetResponseOf []

pub struct GetResponseOf<T> {
    pub index: String,
    pub ty: String,
    pub id: String,
    pub version: Option<u32>,
    pub found: bool,
    pub source: Option<T>,
    pub routing: Option<String>,
}

Response for a get document request.

Fields

Trait Implementations

impl<T> IsOk for GetResponseOf<T> where
    T: DeserializeOwned

Inspect the http response to determine whether or not it succeeded.

impl<T> Debug for GetResponseOf<T> where
    T: Debug

Formats the value using the given formatter.

impl<'de, T> Deserialize<'de> for GetResponseOf<T> where
    T: Deserialize<'de>,