pub struct StorageOptions {
pub network: Network,
pub label: Option<String>,
pub immutable: Option<bool>,
}Expand description
Options for buy_storage. network shapes the per-block amount
math; label is the optional batch label; immutable selects an
immutable batch.
Fields§
§network: NetworkSettlement chain (controls block time).
label: Option<String>Optional batch label.
immutable: Option<bool>Whether the batch is immutable. None keeps Bee’s default.
Trait Implementations§
Source§impl Clone for StorageOptions
impl Clone for StorageOptions
Source§fn clone(&self) -> StorageOptions
fn clone(&self) -> StorageOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StorageOptions
impl Debug for StorageOptions
Source§impl Default for StorageOptions
impl Default for StorageOptions
Source§fn default() -> StorageOptions
fn default() -> StorageOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StorageOptions
impl RefUnwindSafe for StorageOptions
impl Send for StorageOptions
impl Sync for StorageOptions
impl Unpin for StorageOptions
impl UnsafeUnpin for StorageOptions
impl UnwindSafe for StorageOptions
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