lenso-platform-module 0.1.20

Module behavior seams for the Lenso backend framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Deserialize, Serialize};
use utoipa::ToSchema;

/// Runtime provenance for an already loaded Module.
///
/// Delivery belongs to `ModuleRelease.delivery`; a Module is either linked into
/// the Host or provided by an independently deployed Service.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Serialize, Deserialize, ToSchema)]
#[serde(rename_all = "snake_case")]
pub enum ModuleSource {
    Linked,
    Service,
}