mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-09-23 07:27:58 +00:00
23 lines
405 B
Rust
23 lines
405 B
Rust
![]() |
use flowy_derive::ProtoBuf;
|
||
|
|
||
|
#[derive(Default, ProtoBuf, Clone, Debug)]
|
||
|
pub struct RegisterStreamPB {
|
||
|
#[pb(index = 1)]
|
||
|
pub port: i64,
|
||
|
}
|
||
|
|
||
|
#[derive(Default, ProtoBuf, Clone, Debug)]
|
||
|
pub struct QueryFilePB {
|
||
|
#[pb(index = 1)]
|
||
|
pub url: String,
|
||
|
}
|
||
|
|
||
|
#[derive(Default, ProtoBuf, Clone, Debug)]
|
||
|
pub struct FileStatePB {
|
||
|
#[pb(index = 1)]
|
||
|
pub file_id: String,
|
||
|
|
||
|
#[pb(index = 2)]
|
||
|
pub is_finish: bool,
|
||
|
}
|