updatehub-sdk 2.1.4

UpdateHub SDK used to interact with a running instance of the UpdateHub Agent
Documentation
// Copyright (C) 2019, 2020 O.S. Systems Sofware LTDA
//
// SPDX-License-Identifier: Apache-2.0

use serde::{Deserialize, Serialize};

pub mod firmware;
pub mod runtime_settings;
pub mod settings;

#[derive(Clone, Debug, Deserialize, Serialize)]
#[serde(deny_unknown_fields)]
pub struct Response {
    pub state: String,
    pub version: String,
    pub config: settings::Settings,
    pub firmware: firmware::Metadata,
    pub runtime_settings: runtime_settings::RuntimeSettings,
}