Struct solana_runtime::cost_model::TransactionCost
source · pub struct TransactionCost {
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 account_data_size: u64,
pub is_simple_vote: bool,
}
Fields
writable_accounts: Vec<Pubkey>
signature_cost: u64
write_lock_cost: u64
data_bytes_cost: u64
builtins_execution_cost: u64
bpf_execution_cost: u64
account_data_size: u64
is_simple_vote: bool
Implementations
Trait Implementations
sourceimpl Debug for TransactionCost
impl Debug for TransactionCost
Auto Trait Implementations
impl RefUnwindSafe for TransactionCost
impl Send for TransactionCost
impl Sync for TransactionCost
impl Unpin for TransactionCost
impl UnwindSafe for TransactionCost
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more