[][src]Struct storage_interface::SaveTransactionsRequest

pub struct SaveTransactionsRequest {
    pub txns_to_commit: Vec<TransactionToCommit>,
    pub first_version: Version,
    pub ledger_info_with_signatures: Option<LedgerInfoWithSignatures>,
}

Fields

txns_to_commit: Vec<TransactionToCommit>first_version: Versionledger_info_with_signatures: Option<LedgerInfoWithSignatures>

Implementations

impl SaveTransactionsRequest[src]

pub fn new(
    txns_to_commit: Vec<TransactionToCommit>,
    first_version: Version,
    ledger_info_with_signatures: Option<LedgerInfoWithSignatures>
) -> Self
[src]

Constructor.

Trait Implementations

impl Clone for SaveTransactionsRequest[src]

impl Debug for SaveTransactionsRequest[src]

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

impl Eq for SaveTransactionsRequest[src]

impl PartialEq<SaveTransactionsRequest> for SaveTransactionsRequest[src]

impl Serialize for SaveTransactionsRequest[src]

impl StructuralEq for SaveTransactionsRequest[src]

impl StructuralPartialEq for SaveTransactionsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for SaveTransactionsRequest

impl Send for SaveTransactionsRequest

impl Sync for SaveTransactionsRequest

impl Unpin for SaveTransactionsRequest

impl UnwindSafe for SaveTransactionsRequest

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

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

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>,