parse_sap_odata/sap_annotations/function_import/
mod.rs

1pub mod parameter;
2
3use serde::{Deserialize, Serialize};
4
5// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6/// SAP Annotations applicable to `edm:FunctionImport`
7///
8/// See https://sap.github.io/odata-vocabularies/docs/v2-annotations.html#element-edmfunctionimport
9#[derive(Debug, Serialize, Deserialize)]
10#[serde(rename_all = "PascalCase")]
11pub struct SAPAnnotationsFunctionImport {
12    #[serde(rename = "@label")]
13    pub label: Option<String>,
14    #[serde(rename = "@action-for")]
15    pub action_for: Option<String>,
16    #[serde(rename = "@applicable-path")]
17    pub creatable_path: Option<String>,
18    #[serde(rename = "@planning-function")]
19    pub planning_function: Option<String>,
20}