12345678910111213141516 |
- use flowy_derive::ProtoBuf;
- #[derive(Default, ProtoBuf)]
- pub struct KeyValuePB {
- #[pb(index = 1)]
- pub key: String,
- #[pb(index = 2, one_of)]
- pub value: Option<String>,
- }
- #[derive(Default, ProtoBuf)]
- pub struct KeyPB {
- #[pb(index = 1)]
- pub key: String,
- }
|