Enum hdk::prelude::Entry[][src]

pub enum Entry {
    Agent(HoloHash<Agent>),
    App(AppEntryBytes),
    CounterSign(Box<CounterSigningSessionData, Global>, AppEntryBytes),
    CapClaim(CapClaim),
    CapGrant(ZomeCallCapGrant),
}
Expand description

Structure holding the entry portion of a chain element.

Variants

Agent(HoloHash<Agent>)

The Agent system entry, the third entry of every source chain, which grants authoring capability for this agent.

Tuple Fields of Agent

0: HoloHash<Agent>

The application entry data for entries that aren’t system created entries

Tuple Fields of App

0: AppEntryBytes

Application entry data for entries that need countersigning to move forward multiple chains together.

Tuple Fields of CounterSign

0: Box<CounterSigningSessionData, Global>1: AppEntryBytes
CapClaim(CapClaim)

The capability claim system entry which allows committing a granted permission for later use

Tuple Fields of CapClaim

0: CapClaim

The capability grant system entry which allows granting of application defined capabilities

Tuple Fields of CapGrant

0: ZomeCallCapGrant

Implementations

If this entry represents a capability grant, return a CapGrant.

If this entry represents a capability claim, return a CapClaim.

Create an Entry::App from SerializedBytes

Create an Entry::App from SerializedBytes

Trait Implementations

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Performs the conversion.

The HashType which this content will be hashed to

The HashType which this content will be hashed to

Return a subset of the content, either as SerializedBytes “content”, which will be used to compute the hash, or as an already precomputed hash which will be used directly Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

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.

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.

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.

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.

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.

The type returned in the event of a conversion error.

Performs the conversion.

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

Compare self to key and return true if they are equal.

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 resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

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