pub struct ImageMessage {
pub type: Option<String>,
pub quick_reply: Option<Box<QuickReply>>,
pub sender: Option<Box<Sender>>,
pub original_content_url: String,
pub preview_image_url: String,
}
Fields§
§type: Option<String>
Type of message
quick_reply: Option<Box<QuickReply>>
§sender: Option<Box<Sender>>
§original_content_url: String
§preview_image_url: String
Implementations§
Source§impl ImageMessage
impl ImageMessage
Trait Implementations§
Source§impl Clone for ImageMessage
impl Clone for ImageMessage
Source§fn clone(&self) -> ImageMessage
fn clone(&self) -> ImageMessage
Returns a copy 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 ImageMessage
impl Debug for ImageMessage
Source§impl Default for ImageMessage
impl Default for ImageMessage
Source§fn default() -> ImageMessage
fn default() -> ImageMessage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageMessage
impl<'de> Deserialize<'de> for ImageMessage
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 ImageMessage
impl PartialEq for ImageMessage
Source§impl Serialize for ImageMessage
impl Serialize for ImageMessage
impl StructuralPartialEq for ImageMessage
Auto Trait Implementations§
impl Freeze for ImageMessage
impl RefUnwindSafe for ImageMessage
impl Send for ImageMessage
impl Sync for ImageMessage
impl Unpin for ImageMessage
impl UnwindSafe for ImageMessage
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