pub struct TransactionUpdateMessage {
pub event: Option<Arc<ModuleEvent>>,
pub database_update: SubscriptionUpdateMessage,
}Fields§
§event: Option<Arc<ModuleEvent>>The event that caused this update.
When None, this is a light update.
database_update: SubscriptionUpdateMessageTrait Implementations§
Source§impl Debug for TransactionUpdateMessage
impl Debug for TransactionUpdateMessage
Source§impl From<TransactionUpdateMessage> for SerializableMessage
impl From<TransactionUpdateMessage> for SerializableMessage
Source§fn from(original: TransactionUpdateMessage) -> SerializableMessage
fn from(original: TransactionUpdateMessage) -> SerializableMessage
Converts to this type from the input type.
Source§impl ToProtocol for TransactionUpdateMessage
impl ToProtocol for TransactionUpdateMessage
type Encoded = FormatSwitch<ServerMessage<BsatnFormat>, ServerMessage<JsonFormat>>
Source§fn to_protocol(self, protocol: Protocol) -> Self::Encoded
fn to_protocol(self, protocol: Protocol) -> Self::Encoded
Auto Trait Implementations§
impl Freeze for TransactionUpdateMessage
impl RefUnwindSafe for TransactionUpdateMessage
impl Send for TransactionUpdateMessage
impl Sync for TransactionUpdateMessage
impl Unpin for TransactionUpdateMessage
impl UnwindSafe for TransactionUpdateMessage
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> 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 more