Trait pallet_posts::PostScores [−][src]
Required methods
fn score_post_on_new_share(
account: T::AccountId,
original_post: &mut Post<T>
) -> DispatchResult
[src]
account: T::AccountId,
original_post: &mut Post<T>
) -> DispatchResult
fn score_root_post_on_new_comment(
account: T::AccountId,
root_post: &mut Post<T>
) -> DispatchResult
[src]
account: T::AccountId,
root_post: &mut Post<T>
) -> DispatchResult
Implementations on Foreign Types
impl<T: Trait> PostScores<T> for ()
[src]
fn score_post_on_new_share(
_account: T::AccountId,
_original_post: &mut Post<T>
) -> DispatchResult
[src]
_account: T::AccountId,
_original_post: &mut Post<T>
) -> DispatchResult
fn score_root_post_on_new_comment(
_account: T::AccountId,
_root_post: &mut Post<T>
) -> DispatchResult
[src]
_account: T::AccountId,
_root_post: &mut Post<T>
) -> DispatchResult