referrerpolicy=no-referrer-when-downgrade

Type Alias polkadot_sdk_frame::traits::EnsureOneOf

pub type EnsureOneOf<L, R> = EitherOfDiverse<L, R>;
👎Deprecated: Use EitherOfDiverse instead
Expand description

“OR gate” implementation of EnsureOrigin allowing for different Success types for L and R, with them combined using an Either type.

Origin check will pass if L or R origin check passes. L is tested first.

Successful origin is derived from the left side.

Aliased Type§

struct EnsureOneOf<L, R>(/* private fields */);