mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
17 lines
336 B
Rust
17 lines
336 B
Rust
use flowy_derive::{ProtoBuf, ProtoBuf_Enum};
|
|
|
|
#[derive(Debug, ProtoBuf_Enum, Clone, Default)]
|
|
pub enum DatabaseExportDataType {
|
|
#[default]
|
|
CSV = 0,
|
|
}
|
|
|
|
#[derive(Debug, ProtoBuf, Default, Clone)]
|
|
pub struct DatabaseExportDataPB {
|
|
#[pb(index = 1)]
|
|
pub export_type: DatabaseExportDataType,
|
|
|
|
#[pb(index = 2)]
|
|
pub data: String,
|
|
}
|