pub struct ArchivedEvent {
pub offset: i64,
pub node_id: i32,
pub contract_id: String,
pub template_id: Option<Identifier>,
pub witness_parties: Vec<String>,
pub package_name: String,
pub implemented_interfaces: Vec<Identifier>,
}Expand description
Records that a contract has been archived, and choices may no longer be exercised on it.
Fields§
§offset: i64The offset of origin. Offsets are managed by the participant nodes. Transactions can thus NOT be assumed to have the same offsets on different participant nodes. It is a valid absolute offset (positive integer)
Required
node_id: i32The position of this event in the originating transaction or reassignment. Node IDs are not necessarily equal across participants, as these may see different projections/parts of transactions. Must be valid node ID (non-negative integer)
Required
contract_id: StringThe ID of the archived contract.
Must be a valid LedgerString (as described in value.proto).
Required
template_id: Option<Identifier>Identifies the template that defines the choice that archived the contract. This template’s package-id may differ from the target contract’s package-id if the target contract has been upgraded or downgraded.
The identifier uses the package-id reference format.
Required
witness_parties: Vec<String>The parties that are notified of this event. For an ArchivedEvent,
these are the intersection of the stakeholders of the contract in
question and the parties specified in the TransactionFilter. The
stakeholders are the union of the signatories and the observers of
the contract.
Each one of its elements must be a valid PartyIdString (as described
in value.proto).
Required: must be non-empty
package_name: StringThe package name of the contract.
Required
implemented_interfaces: Vec<Identifier>The interfaces implemented by the target template that have been matched from the interface filter query. Populated only in case interface filters with include_interface_view set.
If defined, the identifier uses the package-id reference format.
Optional: can be empty
Trait Implementations§
Source§impl Clone for ArchivedEvent
impl Clone for ArchivedEvent
Source§fn clone(&self) -> ArchivedEvent
fn clone(&self) -> ArchivedEvent
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArchivedEvent
impl Debug for ArchivedEvent
Source§impl Default for ArchivedEvent
impl Default for ArchivedEvent
Source§fn default() -> ArchivedEvent
fn default() -> ArchivedEvent
Source§impl Message for ArchivedEvent
impl Message for ArchivedEvent
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.Source§impl PartialEq for ArchivedEvent
impl PartialEq for ArchivedEvent
impl StructuralPartialEq for ArchivedEvent
Auto Trait Implementations§
impl Freeze for ArchivedEvent
impl RefUnwindSafe for ArchivedEvent
impl Send for ArchivedEvent
impl Sync for ArchivedEvent
impl Unpin for ArchivedEvent
impl UnsafeUnpin for ArchivedEvent
impl UnwindSafe for ArchivedEvent
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