Skip to main content

L1Construct

Trait L1Construct 

Source
pub trait L1Construct: Scope {
    // Required method
    fn to_schema(&self) -> (String, Resource);
}

Required Methods§

Source

fn to_schema(&self) -> (String, Resource)

Returns the resource type and configuration of this construct.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§