pub struct JournalStatusEvent {
pub id: String,
pub journal_id: String,
pub event_type: JournalStatusEventType,
pub at: DateTime<Utc>,
pub from_account: Option<String>,
pub to_account: Option<String>,
}Expand description
Journal status event from SSE stream.
Fields§
§id: StringEvent ID.
journal_id: StringJournal ID.
event_type: JournalStatusEventTypeEvent type.
at: DateTime<Utc>Event timestamp.
from_account: Option<String>From account.
to_account: Option<String>To account.
Trait Implementations§
Source§impl Clone for JournalStatusEvent
impl Clone for JournalStatusEvent
Source§fn clone(&self) -> JournalStatusEvent
fn clone(&self) -> JournalStatusEvent
Returns a duplicate 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 JournalStatusEvent
impl Debug for JournalStatusEvent
Source§impl<'de> Deserialize<'de> for JournalStatusEvent
impl<'de> Deserialize<'de> for JournalStatusEvent
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<JournalStatusEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<JournalStatusEvent, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for JournalStatusEvent
impl Serialize for JournalStatusEvent
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
Auto Trait Implementations§
impl Freeze for JournalStatusEvent
impl RefUnwindSafe for JournalStatusEvent
impl Send for JournalStatusEvent
impl Sync for JournalStatusEvent
impl Unpin for JournalStatusEvent
impl UnwindSafe for JournalStatusEvent
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