pub struct PlanCacheStatisticsResponse {
pub cached_plans: usize,
pub max_size: usize,
pub current_memory_bytes: u64,
pub max_memory_bytes: u64,
pub hit_rate: f64,
}Expand description
Plan cache statistics response
Fields§
§cached_plans: usizeNumber of cached plans
max_size: usizeMaximum cache size
current_memory_bytes: u64Current memory usage in bytes
max_memory_bytes: u64Maximum memory usage in bytes
hit_rate: f64Cache hit rate (0.0 to 1.0)
Trait Implementations§
Source§impl Clone for PlanCacheStatisticsResponse
impl Clone for PlanCacheStatisticsResponse
Source§fn clone(&self) -> PlanCacheStatisticsResponse
fn clone(&self) -> PlanCacheStatisticsResponse
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 PlanCacheStatisticsResponse
impl Debug for PlanCacheStatisticsResponse
Source§impl<'de> Deserialize<'de> for PlanCacheStatisticsResponse
impl<'de> Deserialize<'de> for PlanCacheStatisticsResponse
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 PlanCacheStatisticsResponse
impl RefUnwindSafe for PlanCacheStatisticsResponse
impl Send for PlanCacheStatisticsResponse
impl Sync for PlanCacheStatisticsResponse
impl Unpin for PlanCacheStatisticsResponse
impl UnsafeUnpin for PlanCacheStatisticsResponse
impl UnwindSafe for PlanCacheStatisticsResponse
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