pub struct EchoChainEntry {
pub message_id: u64,
pub channel_id: u64,
pub sender: String,
pub forwarder: String,
pub depth: u32,
pub timestamp: u64,
}Expand description
A single entry in a message’s forwarding (echo) chain.
Fields§
§message_id: u64The message ID at this point in the chain.
channel_id: u64The channel the message lives in.
sender: StringWho sent/forwarded the message.
forwarder: StringWho forwarded the message (alias for clarity in forwarding context).
depth: u32Forwarding depth (0 = original).
timestamp: u64When this copy was created (epoch seconds).
Trait Implementations§
Source§impl Clone for EchoChainEntry
impl Clone for EchoChainEntry
Source§fn clone(&self) -> EchoChainEntry
fn clone(&self) -> EchoChainEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EchoChainEntry
impl Debug for EchoChainEntry
Source§impl<'de> Deserialize<'de> for EchoChainEntry
impl<'de> Deserialize<'de> for EchoChainEntry
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EchoChainEntry
impl RefUnwindSafe for EchoChainEntry
impl Send for EchoChainEntry
impl Sync for EchoChainEntry
impl Unpin for EchoChainEntry
impl UnsafeUnpin for EchoChainEntry
impl UnwindSafe for EchoChainEntry
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