Struct fuels_programs::contract::StorageConfiguration
source · pub struct StorageConfiguration { /* private fields */ }Expand description
Configuration for contract storage
Implementations§
source§impl StorageConfiguration
impl StorageConfiguration
pub fn new(storage_path: String, manual_storage: Vec<StorageSlot>) -> Self
pub fn set_storage_path(self, storage_path: String) -> Self
pub fn set_manual_storage(self, manual_storage: Vec<StorageSlot>) -> Self
Trait Implementations§
source§impl Clone for StorageConfiguration
impl Clone for StorageConfiguration
source§fn clone(&self) -> StorageConfiguration
fn clone(&self) -> StorageConfiguration
Returns a copy 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 StorageConfiguration
impl Debug for StorageConfiguration
source§impl Default for StorageConfiguration
impl Default for StorageConfiguration
source§fn default() -> StorageConfiguration
fn default() -> StorageConfiguration
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for StorageConfiguration
impl Send for StorageConfiguration
impl Sync for StorageConfiguration
impl Unpin for StorageConfiguration
impl UnwindSafe for StorageConfiguration
Blanket Implementations§
source§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
source§fn as_any_ref(&self) -> &(dyn Any + 'static)
fn as_any_ref(&self) -> &(dyn Any + 'static)
Returns a reference to the underlying type as
Any.