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