pub struct ExUnits {
pub memory: u64,
pub cpu: u64,
}
Fields§
§memory: u64
§cpu: u64
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExUnits
impl<'de> Deserialize<'de> for ExUnits
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 ExUnits
impl RefUnwindSafe for ExUnits
impl Send for ExUnits
impl Sync for ExUnits
impl Unpin for ExUnits
impl UnwindSafe for ExUnits
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