Struct fuels_core::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