pub struct GetTransactionByOffsetRequest {
pub offset: i64,
pub requesting_parties: Option<Vec<String>>,
pub transaction_format: Option<Box<TransactionFormat>>,
}
Expand description
GetTransactionByOffsetRequest : Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
Fields§
§offset: i64
The offset of the transaction being looked up. Must be a valid absolute offset (positive integer). Required
requesting_parties: Option<Vec<String>>
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0. The parties whose events the client expects to see. Events that are not visible for the parties in this collection will not be present in the response. Each element must be a valid PartyIdString (as described in value.proto
). Must be set for GetTransactionTreeByOffset request. Optional for backwards compatibility for GetTransactionByOffset request: if defined transaction_format must be unset (falling back to defaults).
transaction_format: Option<Box<TransactionFormat>>
Implementations§
Source§impl GetTransactionByOffsetRequest
impl GetTransactionByOffsetRequest
Sourcepub fn new(offset: i64) -> GetTransactionByOffsetRequest
pub fn new(offset: i64) -> GetTransactionByOffsetRequest
Provided for backwards compatibility, it will be removed in the Canton version 3.4.0.
Trait Implementations§
Source§impl Clone for GetTransactionByOffsetRequest
impl Clone for GetTransactionByOffsetRequest
Source§fn clone(&self) -> GetTransactionByOffsetRequest
fn clone(&self) -> GetTransactionByOffsetRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for GetTransactionByOffsetRequest
impl Default for GetTransactionByOffsetRequest
Source§fn default() -> GetTransactionByOffsetRequest
fn default() -> GetTransactionByOffsetRequest
Source§impl<'de> Deserialize<'de> for GetTransactionByOffsetRequest
impl<'de> Deserialize<'de> for GetTransactionByOffsetRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for GetTransactionByOffsetRequest
impl PartialEq for GetTransactionByOffsetRequest
Source§fn eq(&self, other: &GetTransactionByOffsetRequest) -> bool
fn eq(&self, other: &GetTransactionByOffsetRequest) -> bool
self
and other
values to be equal, and is used by ==
.