mirror of
https://github.com/hinto-janai/cuprate.git
synced 2025-02-01 07:15:56 +00:00
add ResponseBase
This commit is contained in:
parent
f7be3e127a
commit
1b326067c3
2 changed files with 22 additions and 0 deletions
|
@ -3,4 +3,7 @@
|
|||
//! TODO
|
||||
|
||||
mod binary_string;
|
||||
mod response_base;
|
||||
|
||||
pub use binary_string::BinaryString;
|
||||
pub use response_base::ResponseBase;
|
||||
|
|
19
rpc/types/src/data/response_base.rs
Normal file
19
rpc/types/src/data/response_base.rs
Normal file
|
@ -0,0 +1,19 @@
|
|||
//! TODO
|
||||
|
||||
//---------------------------------------------------------------------------------------------------- Import
|
||||
use crate::Status;
|
||||
|
||||
//---------------------------------------------------------------------------------------------------- ResponseBase
|
||||
/// TODO
|
||||
pub struct ResponseBase {
|
||||
/// TODO
|
||||
status: Status,
|
||||
/// TODO
|
||||
untrusted: bool,
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------- Tests
|
||||
#[cfg(test)]
|
||||
mod test {
|
||||
// use super::*;
|
||||
}
|
Loading…
Reference in a new issue