pub struct ComputeBudgetLimits {
pub updated_heap_bytes: u32,
pub compute_unit_limit: u32,
pub compute_unit_price: u64,
pub loaded_accounts_bytes: u32,
}
Fields§
§updated_heap_bytes: u32
§compute_unit_limit: u32
§compute_unit_price: u64
§loaded_accounts_bytes: u32
Trait Implementations§
source§impl Clone for ComputeBudgetLimits
impl Clone for ComputeBudgetLimits
source§fn clone(&self) -> ComputeBudgetLimits
fn clone(&self) -> ComputeBudgetLimits
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ComputeBudgetLimits
impl Debug for ComputeBudgetLimits
source§impl Default for ComputeBudgetLimits
impl Default for ComputeBudgetLimits
source§impl From<ComputeBudgetLimits> for FeeBudgetLimits
impl From<ComputeBudgetLimits> for FeeBudgetLimits
source§fn from(val: ComputeBudgetLimits) -> Self
fn from(val: ComputeBudgetLimits) -> Self
Converts to this type from the input type.
source§impl PartialEq for ComputeBudgetLimits
impl PartialEq for ComputeBudgetLimits
source§fn eq(&self, other: &ComputeBudgetLimits) -> bool
fn eq(&self, other: &ComputeBudgetLimits) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ComputeBudgetLimits
impl StructuralPartialEq for ComputeBudgetLimits
Auto Trait Implementations§
impl RefUnwindSafe for ComputeBudgetLimits
impl Send for ComputeBudgetLimits
impl Sync for ComputeBudgetLimits
impl Unpin for ComputeBudgetLimits
impl UnwindSafe for ComputeBudgetLimits
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.