Implement statistics cookie.
This commit is contained in:
parent
c0e879dc1e
commit
34b3e4fa7b
@ -13,6 +13,7 @@ use crate::wasm::to_wasm::ToWasmStandardProperties;
|
||||
pub struct WasmStatisticsCookie {
|
||||
#[serde(flatten)]
|
||||
pub(crate) additional_properties: AdditionalProperties,
|
||||
pub(crate) value: String,
|
||||
}
|
||||
|
||||
to_wasm!(
|
||||
@ -21,12 +22,13 @@ to_wasm!(
|
||||
original,
|
||||
wasm_context,
|
||||
{ WasmAstNode::StatisticsCookie(original) },
|
||||
{ "TODO".into() },
|
||||
{ "statistics-cookie".into() },
|
||||
{
|
||||
Ok((
|
||||
Vec::new(),
|
||||
WasmStatisticsCookie {
|
||||
additional_properties: AdditionalProperties::default(),
|
||||
value: original.value.to_owned(),
|
||||
},
|
||||
))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user