pub struct UsageForType {
pub storage_type: StorageType,
pub usage: JsFloat,
}Fields§
§storage_type: StorageType§usage: JsFloatTrait Implementations§
Source§impl Clone for UsageForType
impl Clone for UsageForType
Source§fn clone(&self) -> UsageForType
fn clone(&self) -> UsageForType
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 UsageForType
impl Debug for UsageForType
Source§impl<'de> Deserialize<'de> for UsageForType
impl<'de> Deserialize<'de> for UsageForType
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 UsageForType
impl PartialEq for UsageForType
Source§impl Serialize for UsageForType
impl Serialize for UsageForType
impl StructuralPartialEq for UsageForType
Auto Trait Implementations§
impl Freeze for UsageForType
impl RefUnwindSafe for UsageForType
impl Send for UsageForType
impl Sync for UsageForType
impl Unpin for UsageForType
impl UnwindSafe for UsageForType
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