pub enum Ref<'a, J: JsonHash, T: Id> {
    Value(&'a Value<J, T>),
    Node(&'a Node<J, T>),
    List(&'a [Indexed<Object<J, T>>]),
}
Expand description

Object reference.

Variants

Value(&'a Value<J, T>)

Tuple Fields

0: &'a Value<J, T>

Value object.

Node(&'a Node<J, T>)

Tuple Fields

0: &'a Node<J, T>

Node object.

List(&'a [Indexed<Object<J, T>>])

Tuple Fields

List object.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.