pub struct GoalLimits {
pub max_rounds: Option<u32>,
pub token_budget: Option<u64>,
pub max_rounds_limit: u32,
}Expand description
How large a goal may be made, and by whom: max_rounds above
max_rounds_limit is refused.
Fields§
§max_rounds: Option<u32>§token_budget: Option<u64>§max_rounds_limit: u32Implementations§
Trait Implementations§
Source§impl Clone for GoalLimits
impl Clone for GoalLimits
impl Copy for GoalLimits
Source§impl Debug for GoalLimits
impl Debug for GoalLimits
impl Eq for GoalLimits
Source§impl PartialEq for GoalLimits
impl PartialEq for GoalLimits
impl StructuralPartialEq for GoalLimits
Auto Trait Implementations§
impl Forget for GoalLimits
impl Freeze for GoalLimits
impl Move for GoalLimits
impl RefUnwindSafe for GoalLimits
impl Send for GoalLimits
impl Sync for GoalLimits
impl Unpin for GoalLimits
impl UnsafeUnpin for GoalLimits
impl UnwindSafe for GoalLimits
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