pub struct BudgetCeiling {
pub budget_id: Option<String>,
pub subject: Option<String>,
pub window: Option<String>,
pub max_tool_calls: Option<i32>,
pub max_spend_minor: Option<i64>,
pub max_egress_bytes: Option<i64>,
pub max_write_ops: Option<i32>,
pub approval_required_after: Option<i32>,
pub policy_epoch: Option<String>,
}Fields§
§budget_id: Option<String>§subject: Option<String>§window: Option<String>§max_tool_calls: Option<i32>§max_spend_minor: Option<i64>§max_egress_bytes: Option<i64>§max_write_ops: Option<i32>§approval_required_after: Option<i32>§policy_epoch: Option<String>Implementations§
Source§impl BudgetCeiling
impl BudgetCeiling
pub fn new() -> BudgetCeiling
Trait Implementations§
Source§impl Clone for BudgetCeiling
impl Clone for BudgetCeiling
Source§fn clone(&self) -> BudgetCeiling
fn clone(&self) -> BudgetCeiling
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 BudgetCeiling
impl Debug for BudgetCeiling
Source§impl Default for BudgetCeiling
impl Default for BudgetCeiling
Source§fn default() -> BudgetCeiling
fn default() -> BudgetCeiling
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BudgetCeiling
impl<'de> Deserialize<'de> for BudgetCeiling
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BudgetCeiling
impl PartialEq for BudgetCeiling
Source§fn eq(&self, other: &BudgetCeiling) -> bool
fn eq(&self, other: &BudgetCeiling) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BudgetCeiling
impl Serialize for BudgetCeiling
impl StructuralPartialEq for BudgetCeiling
Auto Trait Implementations§
impl Freeze for BudgetCeiling
impl RefUnwindSafe for BudgetCeiling
impl Send for BudgetCeiling
impl Sync for BudgetCeiling
impl Unpin for BudgetCeiling
impl UnsafeUnpin for BudgetCeiling
impl UnwindSafe for BudgetCeiling
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