[][src]Struct solana_libra_types::write_set::WriteSet

pub struct WriteSet(_);

WriteSet contains all access paths that one transaction modifies. Each of them is a WriteOp where Value(val) means that serialized representation should be updated to val, and Deletion means that we are going to delete this access path.

Methods

impl WriteSet[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn iter<'a>(&'a self) -> Iter<'a, (AccessPath, WriteOp)>[src]

pub fn into_mut(self) -> WriteSetMut[src]

Trait Implementations

impl CanonicalDeserialize for WriteSet[src]

impl CanonicalSerialize for WriteSet[src]

impl Clone for WriteSet[src]

impl Debug for WriteSet[src]

impl Default for WriteSet[src]

impl<'de> Deserialize<'de> for WriteSet[src]

impl Eq for WriteSet[src]

impl Hash for WriteSet[src]

impl<'a> IntoIterator for &'a WriteSet[src]

type Item = &'a (AccessPath, WriteOp)

The type of the elements being iterated over.

type IntoIter = Iter<'a, (AccessPath, WriteOp)>

Which kind of iterator are we turning this into?

impl IntoIterator for WriteSet[src]

type Item = (AccessPath, WriteOp)

The type of the elements being iterated over.

type IntoIter = IntoIter<(AccessPath, WriteOp)>

Which kind of iterator are we turning this into?

impl PartialEq<WriteSet> for WriteSet[src]

impl Serialize for WriteSet[src]

impl StructuralEq for WriteSet[src]

impl StructuralPartialEq for WriteSet[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Clear for T where
    T: InitializableFromZeroed + ?Sized

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> InitializableFromZeroed for T where
    T: Default

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized

impl<T> TestOnlyHash for T where
    T: Serialize + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,