pub struct ExecuteSubmissionAndWaitForTransactionRequest {
pub prepared_transaction: Option<PreparedTransaction>,
pub party_signatures: Option<PartySignatures>,
pub submission_id: String,
pub user_id: String,
pub hashing_scheme_version: i32,
pub min_ledger_time: Option<MinLedgerTime>,
pub transaction_format: Option<TransactionFormat>,
pub deduplication_period: Option<DeduplicationPeriod>,
}Fields§
§prepared_transaction: Option<PreparedTransaction>the prepared transaction
Typically this is the value of the prepared_transaction field in PrepareSubmissionResponse
obtained from calling prepareSubmission.
Required
party_signatures: Option<PartySignatures>The party(ies) signatures that authorize the prepared submission to be executed by this node. Each party can provide one or more signatures.. and one or more parties can sign. Note that currently, only single party submissions are supported.
Required
submission_id: StringA unique identifier to distinguish completions for different submissions with the same change ID.
Typically a random UUID. Applications are expected to use a different UUID for each retry of a submission
with the same change ID.
Must be a valid LedgerString (as described in value.proto).
Required
user_id: StringSee [PrepareSubmissionRequest.user_id]
Optional
hashing_scheme_version: i32The hashing scheme version used when building the hash
Required
min_ledger_time: Option<MinLedgerTime>If set will influence the chosen ledger effective time but will not result in a submission delay so any override should be scheduled to executed within the window allowed by synchronizer.
Optional
transaction_format: Option<TransactionFormat>If no transaction_format is provided, a default will be used where transaction_shape is set to
TRANSACTION_SHAPE_ACS_DELTA, event_format is defined with filters_by_party containing wildcard-template
filter for all original act_as and read_as parties and the verbose flag is set.
When the transaction_shape TRANSACTION_SHAPE_ACS_DELTA shape is used (explicitly or is defaulted to as explained above),
events will only be returned if the submitting party is hosted on this node.
Optional
deduplication_period: Option<DeduplicationPeriod>Specifies the deduplication period for the change ID (See PrepareSubmissionRequest). If omitted, the participant will assume the configured maximum deduplication time.
Optional
Implementations§
Source§impl ExecuteSubmissionAndWaitForTransactionRequest
impl ExecuteSubmissionAndWaitForTransactionRequest
Sourcepub fn hashing_scheme_version(&self) -> HashingSchemeVersion
pub fn hashing_scheme_version(&self) -> HashingSchemeVersion
Returns the enum value of hashing_scheme_version, or the default if the field is set to an invalid enum value.
Sourcepub fn set_hashing_scheme_version(&mut self, value: HashingSchemeVersion)
pub fn set_hashing_scheme_version(&mut self, value: HashingSchemeVersion)
Sets hashing_scheme_version to the provided enum value.
Trait Implementations§
Source§impl Clone for ExecuteSubmissionAndWaitForTransactionRequest
impl Clone for ExecuteSubmissionAndWaitForTransactionRequest
Source§fn clone(&self) -> ExecuteSubmissionAndWaitForTransactionRequest
fn clone(&self) -> ExecuteSubmissionAndWaitForTransactionRequest
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ExecuteSubmissionAndWaitForTransactionRequest
impl Default for ExecuteSubmissionAndWaitForTransactionRequest
Source§fn default() -> ExecuteSubmissionAndWaitForTransactionRequest
fn default() -> ExecuteSubmissionAndWaitForTransactionRequest
Source§impl Message for ExecuteSubmissionAndWaitForTransactionRequest
impl Message for ExecuteSubmissionAndWaitForTransactionRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.impl StructuralPartialEq for ExecuteSubmissionAndWaitForTransactionRequest
Auto Trait Implementations§
impl Freeze for ExecuteSubmissionAndWaitForTransactionRequest
impl RefUnwindSafe for ExecuteSubmissionAndWaitForTransactionRequest
impl Send for ExecuteSubmissionAndWaitForTransactionRequest
impl Sync for ExecuteSubmissionAndWaitForTransactionRequest
impl Unpin for ExecuteSubmissionAndWaitForTransactionRequest
impl UnsafeUnpin for ExecuteSubmissionAndWaitForTransactionRequest
impl UnwindSafe for ExecuteSubmissionAndWaitForTransactionRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request