pub(crate) fn internal_farmer_storage(
        &self, 
        account_id: &AccountId
    ) -> (Balance, Balance) {
        let farmer = self.get_farmer_wrapped(account_id);
        if let Some(farmer) = farmer {
            (farmer.get_ref().storage_usage(), farmer.get_ref().amount)
        } else {
           (0, 0)
        }
    }
/// return storage used by given account, and his deposited storage fee 
/// return [actual_locked, actual_deposit]
return storage used by given account, and his deposited storage fee
return [actual_locked, actual_deposit]
return storage used by given account and his deposited storage fee return [ actual_locked actual_deposit ]
pub(crate) fn internal_farmer_storage(
        &self, 
        account_id: &AccountId
    ) -> (Balance, Balance) {
        let farmer = self.get_farmer_wrapped(account_id);
        if let Some(farmer) = farmer {
            (farmer.get_ref().storage_usage(), farmer.get_ref().amount)
        } else {
           (0, 0)
        }
    }
pub ( crate ) fn internal_farmer_storage ( & self , account_id : & AccountId ) -> ( Balance , Balance ) { let farmer = self . get_farmer_wrapped ( account_id ) ; if let Some ( farmer ) = farmer { ( farmer . get_ref ( ) . storage_usage ( ) , farmer . get_ref ( ) . amount ) } else { ( 0 , 0 ) } }
return storage used by given account, and his deposited storage fee
return [actual_locked, actual_deposit]
return storage used by given account and his deposited storage fee return [ actual_locked actual_deposit ]
&self
account_id
&AccountId
&self
account_id
&AccountId