LCOV - differential code coverage report
Current view: top level - libs/compute_api/src - requests.rs (source / functions) Coverage Total Hit UBC
Current: f6946e90941b557c917ac98cd5a7e9506d180f3e.info Lines: 0.0 % 1 0 1
Current Date: 2023-10-19 02:04:12 Functions: 0.0 % 15 0 15
Baseline: c8637f37369098875162f194f92736355783b050.info
Baseline Date: 2023-10-18 20:25:20

           TLA  Line data    Source code
       1                 : //! Structs representing the JSON formats used in the compute_ctl's HTTP API.
       2                 : 
       3                 : use crate::spec::ComputeSpec;
       4                 : use serde::Deserialize;
       5                 : 
       6                 : /// Request of the /configure API
       7                 : ///
       8                 : /// We now pass only `spec` in the configuration request, but later we can
       9                 : /// extend it and something like `restart: bool` or something else. So put
      10                 : /// `spec` into a struct initially to be more flexible in the future.
      11 UBC           0 : #[derive(Deserialize, Debug)]
      12                 : pub struct ConfigurationRequest {
      13                 :     pub spec: ComputeSpec,
      14                 : }
        

Generated by: LCOV version 2.1-beta