Enum hdk_crud::chain_actions::create_action::PathOrEntryHash[][src]

pub enum PathOrEntryHash {
    Path(Path),
    EntryHash(EntryHash),
}
Expand description

an enum passed into create_action to indicate whether the newly created entry is to be linked off a path (like an anchor for entry types) or a supplied entry hash

Variants

Path(Path)

Tuple Fields

0: Path

EntryHash(EntryHash)

Tuple Fields

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

TODO: once 1.33.0 is the minimum supported compiler version, remove Any::type_id_compat and use StdAny::type_id instead. https://github.com/rust-lang/rust/issues/27745 Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more