pub trait BorrowAccountSession<AccountId, Fields> {
    // Required method
    fn borrow_account_session(
        &self
    ) -> Option<&AccountSession<AccountId, Fields>>;
}

Required Methods§

source

fn borrow_account_session(&self) -> Option<&AccountSession<AccountId, Fields>>

Implementations on Foreign Types§

source§

impl<AccountId, Fields, T: Borrow<AccountSession<AccountId, Fields>>> BorrowAccountSession<AccountId, Fields> for &Option<T>

source§

fn borrow_account_session(&self) -> Option<&AccountSession<AccountId, Fields>>

source§

impl<AccountId, Fields, T: Borrow<AccountSession<AccountId, Fields>>> BorrowAccountSession<AccountId, Fields> for Option<T>

source§

fn borrow_account_session(&self) -> Option<&AccountSession<AccountId, Fields>>

Implementors§

source§

impl<AccountId, Fields, T: Borrow<AccountSession<AccountId, Fields>>> BorrowAccountSession<AccountId, Fields> for T