Struct controller::stacks::types::Stack
source · pub struct Stack {
pub name: String,
pub compute_templates: Option<Vec<ComputeTemplate>>,
pub description: Option<String>,
pub image: Option<String>,
pub stack_version: Option<String>,
pub trunk_installs: Option<Vec<TrunkInstall>>,
pub extensions: Option<Vec<Extension>>,
pub postgres_metrics: Option<QueryConfig>,
pub postgres_config: Option<Vec<PgConfig>>,
pub postgres_config_engine: Option<ConfigEngine>,
pub infrastructure: Option<Infrastructure>,
pub app_services: Option<Vec<AppService>>,
}Fields§
§name: String§compute_templates: Option<Vec<ComputeTemplate>>§description: Option<String>§image: Option<String>§stack_version: Option<String>§trunk_installs: Option<Vec<TrunkInstall>>§extensions: Option<Vec<Extension>>§postgres_metrics: Option<QueryConfig>§postgres_config: Option<Vec<PgConfig>>§postgres_config_engine: Option<ConfigEngine>§infrastructure: Option<Infrastructure>§app_services: Option<Vec<AppService>>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Stack
impl<'de> Deserialize<'de> for Stack
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl JsonSchema for Stack
impl JsonSchema for Stack
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moresource§impl PartialEq for Stack
impl PartialEq for Stack
source§impl<'__s> ToSchema<'__s> for Stack
impl<'__s> ToSchema<'__s> for Stack
impl StructuralPartialEq for Stack
Auto Trait Implementations§
impl RefUnwindSafe for Stack
impl Send for Stack
impl Sync for Stack
impl Unpin for Stack
impl UnwindSafe for Stack
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more