Skip to main content

InternalScopeModel

Trait InternalScopeModel 

Source
pub trait InternalScopeModel<S, R>:
    JsonSchema
    + Serialize
    + for<'a> Deserialize<'a>
    + ScopeModel<S>
where R: for<'a> Deserialize<'a>,
{ // Required methods fn int_api_version() -> String; fn int_kind() -> String; // Provided methods fn known_type(input: &ModelRoot<Value>) -> Result<Option<R>> { ... } fn validate_resource(input: &Value) -> Result<()> { ... } }

Required Methods§

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§