core_crypto_ffi/bundles/
proteus_auto_prekey.rs1#[cfg(target_family = "wasm")]
2use wasm_bindgen::prelude::*;
3
4#[derive(Debug, Clone)]
5#[cfg_attr(
6 target_family = "wasm",
7 wasm_bindgen(getter_with_clone),
8 derive(serde::Serialize, serde::Deserialize)
9)]
10#[cfg_attr(not(target_family = "wasm"), derive(uniffi::Record))]
11pub struct ProteusAutoPrekeyBundle {
12 #[cfg_attr(target_family = "wasm", wasm_bindgen(readonly))]
13 pub id: u16,
14 #[cfg_attr(target_family = "wasm", wasm_bindgen(readonly))]
15 pub pkb: Vec<u8>,
16}