Autogenerated update for f248c19b07...2cdd6874b4
This commit is contained in:
@@ -239,11 +239,11 @@ pub mod maps_service_client {
|
|||||||
);
|
);
|
||||||
self.inner.unary(req, path, codec).await
|
self.inner.unary(req, path, codec).await
|
||||||
}
|
}
|
||||||
pub async fn get_snmf_download_url(
|
pub async fn get_snfm_download_url(
|
||||||
&mut self,
|
&mut self,
|
||||||
request: impl tonic::IntoRequest<super::MapId>,
|
request: impl tonic::IntoRequest<super::MapId>,
|
||||||
) -> std::result::Result<
|
) -> std::result::Result<
|
||||||
tonic::Response<super::SnmfDownloadUrl>,
|
tonic::Response<super::SnfmDownloadUrl>,
|
||||||
tonic::Status,
|
tonic::Status,
|
||||||
> {
|
> {
|
||||||
self.inner
|
self.inner
|
||||||
@@ -256,12 +256,12 @@ pub mod maps_service_client {
|
|||||||
})?;
|
})?;
|
||||||
let codec = tonic_prost::ProstCodec::default();
|
let codec = tonic_prost::ProstCodec::default();
|
||||||
let path = http::uri::PathAndQuery::from_static(
|
let path = http::uri::PathAndQuery::from_static(
|
||||||
"/maps_extended.MapsService/GetSnmfDownloadUrl",
|
"/maps_extended.MapsService/GetSnfmDownloadUrl",
|
||||||
);
|
);
|
||||||
let mut req = request.into_request();
|
let mut req = request.into_request();
|
||||||
req.extensions_mut()
|
req.extensions_mut()
|
||||||
.insert(
|
.insert(
|
||||||
GrpcMethod::new("maps_extended.MapsService", "GetSnmfDownloadUrl"),
|
GrpcMethod::new("maps_extended.MapsService", "GetSnfmDownloadUrl"),
|
||||||
);
|
);
|
||||||
self.inner.unary(req, path, codec).await
|
self.inner.unary(req, path, codec).await
|
||||||
}
|
}
|
||||||
@@ -308,10 +308,10 @@ pub mod maps_service_server {
|
|||||||
&self,
|
&self,
|
||||||
request: tonic::Request<super::MapId>,
|
request: tonic::Request<super::MapId>,
|
||||||
) -> std::result::Result<tonic::Response<super::NullResponse>, tonic::Status>;
|
) -> std::result::Result<tonic::Response<super::NullResponse>, tonic::Status>;
|
||||||
async fn get_snmf_download_url(
|
async fn get_snfm_download_url(
|
||||||
&self,
|
&self,
|
||||||
request: tonic::Request<super::MapId>,
|
request: tonic::Request<super::MapId>,
|
||||||
) -> std::result::Result<tonic::Response<super::SnmfDownloadUrl>, tonic::Status>;
|
) -> std::result::Result<tonic::Response<super::SnfmDownloadUrl>, tonic::Status>;
|
||||||
}
|
}
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct MapsServiceServer<T> {
|
pub struct MapsServiceServer<T> {
|
||||||
@@ -691,12 +691,12 @@ pub mod maps_service_server {
|
|||||||
};
|
};
|
||||||
Box::pin(fut)
|
Box::pin(fut)
|
||||||
}
|
}
|
||||||
"/maps_extended.MapsService/GetSnmfDownloadUrl" => {
|
"/maps_extended.MapsService/GetSnfmDownloadUrl" => {
|
||||||
#[allow(non_camel_case_types)]
|
#[allow(non_camel_case_types)]
|
||||||
struct GetSnmfDownloadUrlSvc<T: MapsService>(pub Arc<T>);
|
struct GetSnfmDownloadUrlSvc<T: MapsService>(pub Arc<T>);
|
||||||
impl<T: MapsService> tonic::server::UnaryService<super::MapId>
|
impl<T: MapsService> tonic::server::UnaryService<super::MapId>
|
||||||
for GetSnmfDownloadUrlSvc<T> {
|
for GetSnfmDownloadUrlSvc<T> {
|
||||||
type Response = super::SnmfDownloadUrl;
|
type Response = super::SnfmDownloadUrl;
|
||||||
type Future = BoxFuture<
|
type Future = BoxFuture<
|
||||||
tonic::Response<Self::Response>,
|
tonic::Response<Self::Response>,
|
||||||
tonic::Status,
|
tonic::Status,
|
||||||
@@ -707,7 +707,7 @@ pub mod maps_service_server {
|
|||||||
) -> Self::Future {
|
) -> Self::Future {
|
||||||
let inner = Arc::clone(&self.0);
|
let inner = Arc::clone(&self.0);
|
||||||
let fut = async move {
|
let fut = async move {
|
||||||
<T as MapsService>::get_snmf_download_url(&inner, request)
|
<T as MapsService>::get_snfm_download_url(&inner, request)
|
||||||
.await
|
.await
|
||||||
};
|
};
|
||||||
Box::pin(fut)
|
Box::pin(fut)
|
||||||
@@ -719,7 +719,7 @@ pub mod maps_service_server {
|
|||||||
let max_encoding_message_size = self.max_encoding_message_size;
|
let max_encoding_message_size = self.max_encoding_message_size;
|
||||||
let inner = self.inner.clone();
|
let inner = self.inner.clone();
|
||||||
let fut = async move {
|
let fut = async move {
|
||||||
let method = GetSnmfDownloadUrlSvc(inner);
|
let method = GetSnfmDownloadUrlSvc(inner);
|
||||||
let codec = tonic_prost::ProstCodec::default();
|
let codec = tonic_prost::ProstCodec::default();
|
||||||
let mut grpc = tonic::server::Grpc::new(codec)
|
let mut grpc = tonic::server::Grpc::new(codec)
|
||||||
.apply_compression_config(
|
.apply_compression_config(
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
#[derive(Clone, PartialEq, Eq, Hash, ::prost::Message)]
|
||||||
#[derive(serde::Serialize, serde::Deserialize)]
|
#[derive(serde::Serialize, serde::Deserialize)]
|
||||||
#[serde(rename_all = "PascalCase")]
|
#[serde(rename_all = "PascalCase")]
|
||||||
pub struct SnmfDownloadUrl {
|
pub struct SnfmDownloadUrl {
|
||||||
#[prost(string, tag="1")]
|
#[prost(string, tag="1")]
|
||||||
pub url: ::prost::alloc::string::String,
|
pub url: ::prost::alloc::string::String,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user