Struct HttpRequest

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

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

Fields§

§url: Url<'a>§method: HttpMethod§body: Option<B>

Trait Implementations§

Source§

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

Source§

fn clone(&self) -> HttpRequest<'a, B>

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

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

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, DefaultBody>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn into(self) -> HttpRequest<'a, B>

Converts this type into the (usually inferred) input type.
Source§

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

Source§

fn eq(&self, other: &HttpRequest<'a, B>) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<'a, B> StructuralPartialEq for HttpRequest<'a, B>

Auto Trait Implementations§

§

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

§

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

§

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

§

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

§

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

§

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

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.