Trait pallet_posts::Trait[][src]

pub trait Trait: Trait + Trait + Trait + Trait {
    type Event: From<Event<Self>> + Into<Self::Event>;
    type MaxCommentDepth: Get<u32>;
    type PostScores: PostScores<Self>;
    type AfterPostUpdated: AfterPostUpdated<Self>;
    type IsPostBlocked: IsPostBlocked<PostId>;
}

The pallet’s configuration trait.

Associated Types

type Event: From<Event<Self>> + Into<Self::Event>[src]

The overarching event type.

type MaxCommentDepth: Get<u32>[src]

Max comments depth

type PostScores: PostScores<Self>[src]

type AfterPostUpdated: AfterPostUpdated<Self>[src]

type IsPostBlocked: IsPostBlocked<PostId>[src]

Loading content...

Implementors

Loading content...