pub struct UsageCostDetails {
pub writable_accounts: Vec<Pubkey>,
pub signature_cost: u64,
pub write_lock_cost: u64,
pub data_bytes_cost: u64,
pub builtins_execution_cost: u64,
pub bpf_execution_cost: u64,
pub loaded_accounts_data_size_cost: u64,
pub account_data_size: u64,
}
Fields§
§writable_accounts: Vec<Pubkey>
§signature_cost: u64
§write_lock_cost: u64
§data_bytes_cost: u64
§builtins_execution_cost: u64
§bpf_execution_cost: u64
§loaded_accounts_data_size_cost: u64
§account_data_size: u64
Implementations§
source§impl UsageCostDetails
impl UsageCostDetails
pub fn new_with_default_capacity() -> Self
pub fn sum(&self) -> u64
Trait Implementations§
source§impl Debug for UsageCostDetails
impl Debug for UsageCostDetails
Auto Trait Implementations§
impl RefUnwindSafe for UsageCostDetails
impl Send for UsageCostDetails
impl Sync for UsageCostDetails
impl Unpin for UsageCostDetails
impl UnwindSafe for UsageCostDetails
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more