pub struct Builder { /* private fields */ }
Expand description

Augments a SIWE message with encoded capability delegations.

Implementations

Initialise a new Builder.

Inspect the default actions for a namespace.

Inspect the targeted actions for a namespace.

Inspect the extra fields for a namespace.

Extend the set of default actions for a namespace.

Extend the set of default actions for a namespace.

Extend the set of actions for a target in a namespace.

Extend the set of actions for a target in a namespace.

Extend the extra fields for a namespace.

This function performs a simple HashMap::extend, so does not merge serde_json::Values. Any existing fields with a key matching the incoming fields will be overwritten.

Augment the SIWE message with encoded capabilities.

Generate a CapGrok statement from capabilities and URI.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.