mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
27 lines
512 B
Rust
27 lines
512 B
Rust
use crate::entities::{RepeatedViewPB, ViewDataTypePB};
|
|
use flowy_derive::ProtoBuf;
|
|
|
|
#[derive(Eq, PartialEq, ProtoBuf, Debug, Default, Clone)]
|
|
pub struct ViewInfoPB {
|
|
#[pb(index = 1)]
|
|
pub id: String,
|
|
|
|
#[pb(index = 2)]
|
|
pub belong_to_id: String,
|
|
|
|
#[pb(index = 3)]
|
|
pub name: String,
|
|
|
|
#[pb(index = 4)]
|
|
pub desc: String,
|
|
|
|
#[pb(index = 5)]
|
|
pub data_type: ViewDataTypePB,
|
|
|
|
#[pb(index = 6)]
|
|
pub belongings: RepeatedViewPB,
|
|
|
|
#[pb(index = 7)]
|
|
pub ext_data: String,
|
|
}
|