Struct miden_objects::accounts::delta::AccountStorageDeltaBuilder
source · pub struct AccountStorageDeltaBuilder {
pub cleared_items: Vec<u8>,
pub updated_items: Vec<(u8, Word)>,
pub updated_maps: Vec<(u8, StorageMapDelta)>,
}Fields§
§cleared_items: Vec<u8>§updated_items: Vec<(u8, Word)>§updated_maps: Vec<(u8, StorageMapDelta)>Implementations§
source§impl AccountStorageDeltaBuilder
impl AccountStorageDeltaBuilder
pub fn new() -> Self
pub fn add_cleared_items<I>(self, items: I) -> Selfwhere
I: IntoIterator<Item = u8>,
pub fn add_updated_items<I>(self, items: I) -> Self
pub fn add_updated_maps<I>(self, items: I) -> Self
pub fn build(self) -> Result<AccountStorageDelta, AccountDeltaError>
Trait Implementations§
source§impl Clone for AccountStorageDeltaBuilder
impl Clone for AccountStorageDeltaBuilder
source§fn clone(&self) -> AccountStorageDeltaBuilder
fn clone(&self) -> AccountStorageDeltaBuilder
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 AccountStorageDeltaBuilder
impl Debug for AccountStorageDeltaBuilder
source§impl Default for AccountStorageDeltaBuilder
impl Default for AccountStorageDeltaBuilder
source§fn default() -> AccountStorageDeltaBuilder
fn default() -> AccountStorageDeltaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AccountStorageDeltaBuilder
impl RefUnwindSafe for AccountStorageDeltaBuilder
impl Send for AccountStorageDeltaBuilder
impl Sync for AccountStorageDeltaBuilder
impl Unpin for AccountStorageDeltaBuilder
impl UnwindSafe for AccountStorageDeltaBuilder
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