# Config in pezkuwi_sdk_docs::reference_docs::frame_origin::pezpallet_with_custom_origin - Rust
Configuration trait of this pezpallet.

## Config

# Trait Config

Source

    pub trait Config: Config {
        type RuntimeOrigin: From<<Self as Config>::RuntimeOrigin> + Into<Result<Origin, <Self as Config>::RuntimeOrigin>>;
    }

Expand description

Configuration trait of this pezpallet.

The main purpose of this trait is to act as an interface between this pezpallet and the runtime in which it is embedded in. A type, function, or constant in this trait is essentially left to be configured by the runtime that includes this pezpallet.

Consequently, a runtime that wants to include this pezpallet must implement this trait.

## Required Associated Types§

Source

#### type RuntimeOrigin: From<<Self as Config>::RuntimeOrigin> + Into<Result<Origin, <Self as Config>::RuntimeOrigin>>

## Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

## Implementors§

Source §

### impl Config for Runtime

Source §

#### type RuntimeOrigin = RuntimeOrigin