13 lines
238 B
Rust
13 lines
238 B
Rust
|
use serde::Serialize;
|
||
|
|
||
|
use crate::response::Response;
|
||
|
|
||
|
#[derive(Clone, Debug, Serialize)]
|
||
|
pub struct InitResponse;
|
||
|
|
||
|
impl From<InitResponse> for Response {
|
||
|
fn from(response: InitResponse) -> Self {
|
||
|
Self::Init(response)
|
||
|
}
|
||
|
}
|