pub struct StorageRequirements {
pub stable_memory: Option<u64>,
pub requires_persistence: bool,
}Expand description
Storage requirements for a tool
Fields§
§stable_memory: Option<u64>Estimated stable memory usage in bytes
requires_persistence: boolWhether the tool needs persistent state
Trait Implementations§
Source§impl Clone for StorageRequirements
impl Clone for StorageRequirements
Source§fn clone(&self) -> StorageRequirements
fn clone(&self) -> StorageRequirements
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 StorageRequirements
impl Debug for StorageRequirements
Source§impl Default for StorageRequirements
impl Default for StorageRequirements
Source§fn default() -> StorageRequirements
fn default() -> StorageRequirements
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageRequirements
impl RefUnwindSafe for StorageRequirements
impl Send for StorageRequirements
impl Sync for StorageRequirements
impl Unpin for StorageRequirements
impl UnwindSafe for StorageRequirements
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