Skip to main content

HasId

Trait HasId 

Source
pub trait HasId {
    // Required method
    fn id(&self) -> Option<&Url>;
}
Expand description

Types with an optional id URL, enabling uniform reference resolution.

Required Methods§

Source

fn id(&self) -> Option<&Url>

Returns the id of this object, if set.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§