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
sourceimpl 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
sourceimpl Debug for StorageConfiguration
impl Debug for StorageConfiguration
sourceimpl Default for StorageConfiguration
impl Default for StorageConfiguration
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more