Struct fuels_types::parameters::StorageConfiguration
source · pub struct StorageConfiguration {
pub storage_path: Option<String>,
pub manual_storage_vec: Option<Vec<StorageSlot>>,
}
Fields§
§storage_path: Option<String>
§manual_storage_vec: Option<Vec<StorageSlot>>
Implementations§
source§impl StorageConfiguration
impl StorageConfiguration
pub fn new( storage_path: Option<String>, manual_storage_vec: Option<Vec<StorageSlot>> ) -> Self
pub fn with_storage_path(storage_path: Option<String>) -> Self
pub fn with_manual_storage(manual_storage_vec: Option<Vec<StorageSlot>>) -> Self
Trait Implementations§
source§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§
§impl<T> AnyDebug for Twhere
T: Any + Debug,
impl<T> AnyDebug for Twhere T: Any + Debug,
§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
.