pub enum NormalizedInboundContent {
Text {
text: String,
provider_message_id: Option<String>,
},
Audio {
provider_message_id: String,
provider_file_id: String,
duration_seconds: Option<u32>,
},
ActionSelected {
token: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for NormalizedInboundContent
impl Clone for NormalizedInboundContent
Source§fn clone(&self) -> NormalizedInboundContent
fn clone(&self) -> NormalizedInboundContent
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 NormalizedInboundContent
impl Debug for NormalizedInboundContent
Source§impl<'de> Deserialize<'de> for NormalizedInboundContent
impl<'de> Deserialize<'de> for NormalizedInboundContent
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 NormalizedInboundContent
impl PartialEq for NormalizedInboundContent
Source§impl Serialize for NormalizedInboundContent
impl Serialize for NormalizedInboundContent
impl StructuralPartialEq for NormalizedInboundContent
Auto Trait Implementations§
impl Freeze for NormalizedInboundContent
impl RefUnwindSafe for NormalizedInboundContent
impl Send for NormalizedInboundContent
impl Sync for NormalizedInboundContent
impl Unpin for NormalizedInboundContent
impl UnsafeUnpin for NormalizedInboundContent
impl UnwindSafe for NormalizedInboundContent
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