models.rs 368 B

123456789101112131415
  1. // Copyright 2019-2023 Tauri Programme within The Commons Conservancy
  2. // SPDX-License-Identifier: Apache-2.0
  3. // SPDX-License-Identifier: MIT
  4. use serde::{Deserialize, Serialize};
  5. #[derive(Debug, Serialize)]
  6. pub struct PingRequest {
  7. pub value: Option<String>,
  8. }
  9. #[derive(Debug, Clone, Default, Deserialize)]
  10. pub struct PingResponse {
  11. pub value: Option<String>,
  12. }