pub enum OutboxEventPayload {
Show 14 variants
Empty,
AccountCreated {
source: DataSource,
account: AccountValues,
},
AccountUpdated {
source: DataSource,
account: AccountValues,
fields: Vec<String>,
},
AccountSetCreated {
source: DataSource,
account_set: AccountSetValues,
},
AccountSetUpdated {
source: DataSource,
account_set: AccountSetValues,
fields: Vec<String>,
},
AccountSetMemberCreated {
source: DataSource,
account_set_id: AccountSetId,
member_id: AccountSetMemberId,
},
AccountSetMemberRemoved {
source: DataSource,
account_set_id: AccountSetId,
member_id: AccountSetMemberId,
},
JournalCreated {
source: DataSource,
journal: JournalValues,
},
JournalUpdated {
source: DataSource,
journal: JournalValues,
fields: Vec<String>,
},
TxTemplateCreated {
source: DataSource,
tx_template: TxTemplateValues,
},
TransactionCreated {
source: DataSource,
transaction: TransactionValues,
},
EntryCreated {
source: DataSource,
entry: EntryValues,
},
BalanceCreated {
source: DataSource,
balance: BalanceSnapshot,
},
BalanceUpdated {
source: DataSource,
balance: BalanceSnapshot,
},
}Variants§
Empty
AccountCreated
AccountUpdated
AccountSetCreated
AccountSetUpdated
AccountSetMemberCreated
AccountSetMemberRemoved
JournalCreated
JournalUpdated
TxTemplateCreated
TransactionCreated
EntryCreated
BalanceCreated
BalanceUpdated
Trait Implementations§
Source§impl Clone for OutboxEventPayload
impl Clone for OutboxEventPayload
Source§fn clone(&self) -> OutboxEventPayload
fn clone(&self) -> OutboxEventPayload
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OutboxEventPayload
impl Debug for OutboxEventPayload
Source§impl<'de> Deserialize<'de> for OutboxEventPayload
impl<'de> Deserialize<'de> for OutboxEventPayload
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutboxEventPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OutboxEventPayload, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AccountEvent> for OutboxEventPayload
impl From<&AccountEvent> for OutboxEventPayload
Source§fn from(event: &AccountEvent) -> OutboxEventPayload
fn from(event: &AccountEvent) -> OutboxEventPayload
Converts to this type from the input type.
Source§impl From<&AccountSetEvent> for OutboxEventPayload
impl From<&AccountSetEvent> for OutboxEventPayload
Source§fn from(event: &AccountSetEvent) -> OutboxEventPayload
fn from(event: &AccountSetEvent) -> OutboxEventPayload
Converts to this type from the input type.
Source§impl From<&EntryEvent> for OutboxEventPayload
impl From<&EntryEvent> for OutboxEventPayload
Source§fn from(event: &EntryEvent) -> OutboxEventPayload
fn from(event: &EntryEvent) -> OutboxEventPayload
Converts to this type from the input type.
Source§impl From<&JournalEvent> for OutboxEventPayload
impl From<&JournalEvent> for OutboxEventPayload
Source§fn from(event: &JournalEvent) -> OutboxEventPayload
fn from(event: &JournalEvent) -> OutboxEventPayload
Converts to this type from the input type.
Source§impl From<&TransactionEvent> for OutboxEventPayload
impl From<&TransactionEvent> for OutboxEventPayload
Source§fn from(event: &TransactionEvent) -> OutboxEventPayload
fn from(event: &TransactionEvent) -> OutboxEventPayload
Converts to this type from the input type.
Source§impl From<&TxTemplateEvent> for OutboxEventPayload
impl From<&TxTemplateEvent> for OutboxEventPayload
Source§fn from(event: &TxTemplateEvent) -> OutboxEventPayload
fn from(event: &TxTemplateEvent) -> OutboxEventPayload
Converts to this type from the input type.
Source§impl Serialize for OutboxEventPayload
impl Serialize for OutboxEventPayload
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<Payload> for OutboxEventPayload
impl TryFrom<Payload> for OutboxEventPayload
Source§type Error = CalaLedgerOutboxClientError
type Error = CalaLedgerOutboxClientError
The type returned in the event of a conversion error.
Source§fn try_from(
payload: Payload,
) -> Result<OutboxEventPayload, <OutboxEventPayload as TryFrom<Payload>>::Error>
fn try_from( payload: Payload, ) -> Result<OutboxEventPayload, <OutboxEventPayload as TryFrom<Payload>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for OutboxEventPayload
impl RefUnwindSafe for OutboxEventPayload
impl Send for OutboxEventPayload
impl Sync for OutboxEventPayload
impl Unpin for OutboxEventPayload
impl UnwindSafe for OutboxEventPayload
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
Mutably borrows from an owned value. Read more
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> 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§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>
Wrap the input message
T in a tonic::Request