Struct elastic::client::requests::HttpRequest []

pub struct HttpRequest<'a, B> {
    pub url: Url<'a>,
    pub method: HttpMethod,
    pub body: Option<B>,
}

A general request type that all endpoints can be converted into.

Fields

Trait Implementations

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesRolloverRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetTemplateRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatRecoveryRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetSourceRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatRepositoriesRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for UpdateByQueryRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesDeleteTemplateRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotDeleteRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatPendingTasksRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ClusterAllocationExplainRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for TasksGetRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetAliasRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatThreadPoolRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterHealthRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetMappingRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for DeleteScriptRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatNodesRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatAliasesRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SearchShardsRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for CreateRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesCloseRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SimpleSearchRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SuggestRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for NodesInfoRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IngestDeletePipelineRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutAliasRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotVerifyRepositoryRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesAnalyzeRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatCountRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetScriptRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatHelpRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for CountPercolateRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterPendingTasksRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsTypeRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatTemplatesRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for PutScriptRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ExistsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatSegmentsRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesUpdateAliasesRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesSegmentsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetTemplateRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ReindexRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetSettingsRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotCreateRepositoryRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetUpgradeRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesOpenRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotStatusRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for DeleteRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for PingHeadRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesValidateQueryRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutTemplateRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatIndicesRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SearchRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesDeleteRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesDeleteAliasRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesFlushSyncedRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ClusterRerouteRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for TasksListRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesUpgradeRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for DeleteByQueryRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutSettingsRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ScrollRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotRestoreRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for NodesStatsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for FieldStatsRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for MsearchRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatTasksRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for MpercolateRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesForcemergeRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotGetRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesRecoveryRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatShardsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for DeleteTemplateRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatNodeattrsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatFielddataRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotDeleteRepositoryRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for TermvectorsRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for RenderSearchTemplateRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatPluginsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesStatsRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesClearCacheRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesRefreshRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ClearScrollRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesCreateRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesShardStoresRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for CountRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for InfoRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndexRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotCreateRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterGetSettingsRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for PercolateRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterStatsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatHealthRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatSnapshotsRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsAliasRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetFieldMappingRequest<'a>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IngestGetPipelineRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for MgetRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ReindexRethrottleRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for NodesHotThreadsRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesShrinkRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for TasksCancelRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesFlushRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IngestPutPipelineRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatMasterRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for PutTemplateRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ClusterPutSettingsRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsTemplateRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for SearchTemplateRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutMappingRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for PingRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for UpdateRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotGetRepositoryRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for MsearchTemplateRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for MtermvectorsRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatAllocationRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for IngestSimulateRequest<'a, B>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for BulkRequest<'a, B>

Performs the conversion.

impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterStateRequest<'a>

Performs the conversion.

impl<'a, B> Into<HttpRequest<'a, B>> for ExplainRequest<'a, B>

Performs the conversion.

impl<'a, B> PartialEq<HttpRequest<'a, B>> for HttpRequest<'a, B> where
    B: PartialEq<B>, 

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, B> Clone for HttpRequest<'a, B> where
    B: Clone

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a, B> Debug for HttpRequest<'a, B> where
    B: Debug

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a, B> Send for HttpRequest<'a, B> where
    B: Send

impl<'a, B> Sync for HttpRequest<'a, B> where
    B: Sync