pub struct CostRecord {
pub cost_id: String,
pub run_id: String,
pub session_id: String,
pub step_id: String,
pub category: String,
pub name: String,
pub amount: f64,
pub unit: String,
pub metadata: State,
pub created_at: f64,
}Fields§
§cost_id: String§run_id: String§session_id: String§step_id: String§category: String§name: String§amount: f64§unit: String§metadata: State§created_at: f64Trait Implementations§
Source§impl Clone for CostRecord
impl Clone for CostRecord
Source§fn clone(&self) -> CostRecord
fn clone(&self) -> CostRecord
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 moreAuto Trait Implementations§
impl Freeze for CostRecord
impl RefUnwindSafe for CostRecord
impl Send for CostRecord
impl Sync for CostRecord
impl Unpin for CostRecord
impl UnsafeUnpin for CostRecord
impl UnwindSafe for CostRecord
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