pub type PbUserDefinedFunction = UserDefinedFunction;
Expand description
Alias for UserDefinedFunction
.
Aliased Type§
struct PbUserDefinedFunction {Show 14 fields
pub children: Vec<ExprNode>,
pub name: String,
pub arg_names: Vec<String>,
pub arg_types: Vec<DataType>,
pub language: String,
pub link: Option<String>,
pub identifier: Option<String>,
pub body: Option<String>,
pub compressed_binary: Option<Vec<u8>>,
pub always_retry_on_network_error: bool,
pub runtime: Option<String>,
pub is_async: Option<bool>,
pub is_batched: Option<bool>,
pub version: i32,
}
Fields§
§children: Vec<ExprNode>
§name: String
§arg_names: Vec<String>
§arg_types: Vec<DataType>
§language: String
§link: Option<String>
The link to the external function service.
identifier: Option<String>
This is re-interpreted as name_in_runtime
.
body: Option<String>
- If
language
isjavascript
orpython
, the source code of the function.
compressed_binary: Option<Vec<u8>>
- If
language
isrust
orwasm
, the zstd-compressed wasm binary.
always_retry_on_network_error: bool
§runtime: Option<String>
The runtime selected when multiple runtimes are available for the language. Now is not used.
is_async: Option<bool>
additional options for javascript functions
is_batched: Option<bool>
§version: i32