pub struct BudgetReply {
pub ok: bool,
pub wait_ms: u64,
pub model: Option<String>,
pub reason: Option<String>,
}Expand description
A budget grant as the worker sees it.
Fields§
§ok: bool§wait_ms: u64§model: Option<String>§reason: Option<String>Trait Implementations§
Source§impl Clone for BudgetReply
impl Clone for BudgetReply
Source§fn clone(&self) -> BudgetReply
fn clone(&self) -> BudgetReply
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 moreSource§impl Debug for BudgetReply
impl Debug for BudgetReply
Source§impl PartialEq for BudgetReply
impl PartialEq for BudgetReply
impl StructuralPartialEq for BudgetReply
Auto Trait Implementations§
impl Freeze for BudgetReply
impl RefUnwindSafe for BudgetReply
impl Send for BudgetReply
impl Sync for BudgetReply
impl Unpin for BudgetReply
impl UnsafeUnpin for BudgetReply
impl UnwindSafe for BudgetReply
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