Type Alias ObjectRef
Source pub type ObjectRef = UrlOr<Box<Object>>;
Expand description
A reference-valued property that may appear as a bare URL or as an
inlined Object.
Object is recursive in its own properties, so the inline arm is
boxed to keep the struct size predictable.
pub enum ObjectRef {
Url(Url),
Object(Box<Object>),
}
A bare URL reference to the remote resource.
An inlined object of the target type.