Trait pallet_profile_follows::BeforeAccountUnfollowed[][src]

pub trait BeforeAccountUnfollowed<T: Trait> {
    fn before_account_unfollowed(
        follower: T::AccountId,
        following: T::AccountId
    ) -> DispatchResult; }

Handler that will be called right before the account is unfollowed.

Required methods

fn before_account_unfollowed(
    follower: T::AccountId,
    following: T::AccountId
) -> DispatchResult
[src]

Loading content...

Implementations on Foreign Types

impl<T: Trait> BeforeAccountUnfollowed<T> for ()[src]

Loading content...

Implementors

Loading content...