All Downloads are FREE. Search and download functionalities are using the official Maven repository.

rust-server.example-server-operation.mustache Maven / Gradle / Ivy

There is a newer version: 7.9.0
Show newest version
{{#summary}}
    /// {{{.}}}
{{/summary}}
    async fn {{#vendorExtensions}}{{{x-operation-id}}}{{/vendorExtensions}}(
        &self,
{{#vendorExtensions}}
  {{#x-callback-params}}
        callback_{{.}}: String,
  {{/x-callback-params}}
{{/vendorExtensions}}
{{#allParams}}
        {{{paramName}}}: {{^required}}Option<{{/required}}{{#isArray}}&{{/isArray}}{{{dataType}}}{{^required}}>{{/required}},
{{/allParams}}
        context: &C) -> Result<{{{operationId}}}Response, ApiError>
    {
        info!("{{#vendorExtensions}}{{{x-operation-id}}}{{/vendorExtensions}}({{#allParams}}{{#vendorExtensions}}{{{x-format-string}}}{{/vendorExtensions}}{{^-last}}, {{/-last}}{{/allParams}}) - X-Span-ID: {:?}"{{#allParams}}, {{{paramName}}}{{/allParams}}, context.get().0.clone());
        Err(ApiError("Api-Error: Operation is NOT implemented".into()))
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy