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>
impl<'a, B: Clone> Clone for HttpRequest<'a, B>
Source§fn clone(&self) -> HttpRequest<'a, B>
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)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a, B: Debug> Debug for HttpRequest<'a, B>
impl<'a, B: Debug> Debug for HttpRequest<'a, B>
Source§impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatAliasesRequest<'a>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatAliasesRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatAllocationRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatCountRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatFielddataRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatHealthRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatHelpRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatIndicesRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatMasterRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatNodeattrsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatNodesRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatPendingTasksRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatPluginsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatRecoveryRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatRepositoriesRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatSegmentsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatShardsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatSnapshotsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatTasksRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatTemplatesRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for CatThreadPoolRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterGetSettingsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterHealthRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterPendingTasksRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterStateRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ClusterStatsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for DeleteRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for DeleteScriptRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for DeleteTemplateRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for ExistsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetScriptRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetSourceRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for GetTemplateRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesDeleteAliasRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesDeleteRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesDeleteTemplateRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsAliasRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsTemplateRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesExistsTypeRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetAliasRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetFieldMappingRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetMappingRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetSettingsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetTemplateRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesGetUpgradeRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesRecoveryRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesSegmentsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesShardStoresRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IndicesStatsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for InfoRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IngestDeletePipelineRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for IngestGetPipelineRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for NodesHotThreadsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for NodesInfoRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for NodesStatsRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for PingHeadRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for PingRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SimpleSearchRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotDeleteRepositoryRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotDeleteRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotGetRepositoryRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotGetRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for SnapshotStatusRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for TasksGetRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a> Into<HttpRequest<'a, &'static [u8]>> for TasksListRequest<'a>
Source§fn into(self) -> HttpRequest<'a, DefaultBody>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for BulkRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ClearScrollRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ClusterAllocationExplainRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ClusterPutSettingsRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ClusterRerouteRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for CountPercolateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for CountRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for CreateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for DeleteByQueryRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ExplainRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for FieldStatsRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndexRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesAnalyzeRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesClearCacheRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesCloseRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesCreateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesFlushRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesFlushSyncedRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesForcemergeRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesOpenRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutAliasRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutMappingRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutSettingsRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesPutTemplateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesRefreshRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesRolloverRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesShrinkRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesUpdateAliasesRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesUpgradeRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IndicesValidateQueryRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IngestPutPipelineRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for IngestSimulateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for MgetRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for MpercolateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for MsearchRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for MsearchTemplateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for MtermvectorsRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for PercolateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for PutScriptRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for PutTemplateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ReindexRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ReindexRethrottleRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for RenderSearchTemplateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for ScrollRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SearchRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SearchShardsRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SearchTemplateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotCreateRepositoryRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotCreateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotRestoreRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SnapshotVerifyRepositoryRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for SuggestRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for TasksCancelRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for TermvectorsRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for UpdateByQueryRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B> Into<HttpRequest<'a, B>> for UpdateRequest<'a, B>
Source§fn into(self) -> HttpRequest<'a, B>
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>
impl<'a, B: PartialEq> PartialEq for HttpRequest<'a, B>
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more