pub struct MessageProjection {
pub peer: String,
pub sender: String,
pub from: String,
pub to: String,
pub server_message_id: String,
pub fields: RawFields,
pub packed_other_fields: Vec<u8>,
}Expand description
Exact stored columns supplied by a protocol/build adapter, excluding fields allocated/transformed by this destination (local_id, sender id, packed endpoints).
Fields§
§peer: String§sender: String§from: String§to: String§server_message_id: String§fields: RawFields§packed_other_fields: Vec<u8>Complete encoded fields other than endpoints1/2, including opaque fields.
Trait Implementations§
Source§impl Clone for MessageProjection
impl Clone for MessageProjection
Source§impl Debug for MessageProjection
impl Debug for MessageProjection
Source§impl<'de> Deserialize<'de> for MessageProjection
impl<'de> Deserialize<'de> for MessageProjection
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 MessageProjection
impl RefUnwindSafe for MessageProjection
impl Send for MessageProjection
impl Sync for MessageProjection
impl Unpin for MessageProjection
impl UnsafeUnpin for MessageProjection
impl UnwindSafe for MessageProjection
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