pub struct NormalizedInbound {
pub schema_version: u16,
pub event_id: String,
pub address: MessagingAddress,
pub actor: ExternalActor,
pub content: NormalizedInboundContent,
pub conversation_display_name: Option<String>,
pub occurred_at_ms: Option<i64>,
}Fields§
§schema_version: u16§event_id: String§address: MessagingAddress§actor: ExternalActor§content: NormalizedInboundContent§conversation_display_name: Option<String>§occurred_at_ms: Option<i64>Implementations§
Source§impl NormalizedInbound
impl NormalizedInbound
pub fn validate(self) -> Result<Self, MessagingModelError>
Trait Implementations§
Source§impl Clone for NormalizedInbound
impl Clone for NormalizedInbound
Source§fn clone(&self) -> NormalizedInbound
fn clone(&self) -> NormalizedInbound
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 NormalizedInbound
impl Debug for NormalizedInbound
Source§impl<'de> Deserialize<'de> for NormalizedInbound
impl<'de> Deserialize<'de> for NormalizedInbound
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
Source§impl PartialEq for NormalizedInbound
impl PartialEq for NormalizedInbound
Source§impl Serialize for NormalizedInbound
impl Serialize for NormalizedInbound
impl StructuralPartialEq for NormalizedInbound
Auto Trait Implementations§
impl Freeze for NormalizedInbound
impl RefUnwindSafe for NormalizedInbound
impl Send for NormalizedInbound
impl Sync for NormalizedInbound
impl Unpin for NormalizedInbound
impl UnsafeUnpin for NormalizedInbound
impl UnwindSafe for NormalizedInbound
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