pub struct ObjectStatistics {
pub total_objects: usize,
pub objects_by_type: HashMap<String, usize>,
pub largest_objects: Vec<ObjectSummary>,
pub memory_usage: MemoryUsage,
}Expand description
Object statistics within the asset
Fields§
§total_objects: usize§objects_by_type: HashMap<String, usize>§largest_objects: Vec<ObjectSummary>§memory_usage: MemoryUsageTrait Implementations§
Source§impl Clone for ObjectStatistics
impl Clone for ObjectStatistics
Source§fn clone(&self) -> ObjectStatistics
fn clone(&self) -> ObjectStatistics
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 ObjectStatistics
impl Debug for ObjectStatistics
Source§impl Default for ObjectStatistics
impl Default for ObjectStatistics
Source§fn default() -> ObjectStatistics
fn default() -> ObjectStatistics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectStatistics
impl<'de> Deserialize<'de> for ObjectStatistics
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 ObjectStatistics
impl RefUnwindSafe for ObjectStatistics
impl Send for ObjectStatistics
impl Sync for ObjectStatistics
impl Unpin for ObjectStatistics
impl UnwindSafe for ObjectStatistics
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