pub struct BudgetMetadata {
pub operation_id: u64,
pub compute_budget_units: u64,
pub memory_budget_bytes: u64,
pub bandwidth_budget_bytes: u64,
pub token_budget: u32,
pub flags: u32,
}Fields§
§operation_id: u64§compute_budget_units: u64§memory_budget_bytes: u64§bandwidth_budget_bytes: u64§token_budget: u32§flags: u32Implementations§
Trait Implementations§
Source§impl Clone for BudgetMetadata
impl Clone for BudgetMetadata
Source§fn clone(&self) -> BudgetMetadata
fn clone(&self) -> BudgetMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for BudgetMetadata
Source§impl Debug for BudgetMetadata
impl Debug for BudgetMetadata
impl Eq for BudgetMetadata
Source§impl PartialEq for BudgetMetadata
impl PartialEq for BudgetMetadata
impl StructuralPartialEq for BudgetMetadata
Auto Trait Implementations§
impl Freeze for BudgetMetadata
impl RefUnwindSafe for BudgetMetadata
impl Send for BudgetMetadata
impl Sync for BudgetMetadata
impl Unpin for BudgetMetadata
impl UnsafeUnpin for BudgetMetadata
impl UnwindSafe for BudgetMetadata
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