pub struct ActivityCost {
pub base_cost: f64,
pub cpu_usage: f64,
pub memory_usage: f64,
pub io_operations: f64,
pub network_usage: f64,
pub estimated_duration: Duration,
}
Expand description
Activityコスト情報
Fields§
§base_cost: f64
§cpu_usage: f64
§memory_usage: f64
§io_operations: f64
§network_usage: f64
§estimated_duration: Duration
Trait Implementations§
Source§impl Clone for ActivityCost
impl Clone for ActivityCost
Source§fn clone(&self) -> ActivityCost
fn clone(&self) -> ActivityCost
Returns a duplicate of the value. Read more
1.0.0 · 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 ActivityCost
impl Debug for ActivityCost
Source§impl<'de> Deserialize<'de> for ActivityCost
impl<'de> Deserialize<'de> for ActivityCost
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
Auto Trait Implementations§
impl Freeze for ActivityCost
impl RefUnwindSafe for ActivityCost
impl Send for ActivityCost
impl Sync for ActivityCost
impl Unpin for ActivityCost
impl UnwindSafe for ActivityCost
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