Skip to main content

ReferenceModel

Trait ReferenceModel 

Source
pub trait ReferenceModel: ThingModel {
    // Required method
    fn iid(&self) -> Option<&str>;
}
Expand description

A nonrecursive generated reference model. Key-based references may not have an IID initially.

Required Methods§

Source

fn iid(&self) -> Option<&str>

Return the canonical IID when this reference is IID-backed.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§