pub struct SendPrivateReplyToCommentRequestQuickRepliesInner {
pub title: String,
pub payload: String,
pub image_url: Option<String>,
}Fields§
§title: StringLabel shown on the chip. Truncated by Meta beyond 20 characters.
payload: StringOpaque value returned in the inbound webhook when the user taps the chip.
image_url: Option<String>Optional thumbnail shown next to the chip title.
Implementations§
Source§impl SendPrivateReplyToCommentRequestQuickRepliesInner
impl SendPrivateReplyToCommentRequestQuickRepliesInner
pub fn new( title: String, payload: String, ) -> SendPrivateReplyToCommentRequestQuickRepliesInner
Trait Implementations§
Source§impl Clone for SendPrivateReplyToCommentRequestQuickRepliesInner
impl Clone for SendPrivateReplyToCommentRequestQuickRepliesInner
Source§fn clone(&self) -> SendPrivateReplyToCommentRequestQuickRepliesInner
fn clone(&self) -> SendPrivateReplyToCommentRequestQuickRepliesInner
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 Default for SendPrivateReplyToCommentRequestQuickRepliesInner
impl Default for SendPrivateReplyToCommentRequestQuickRepliesInner
Source§fn default() -> SendPrivateReplyToCommentRequestQuickRepliesInner
fn default() -> SendPrivateReplyToCommentRequestQuickRepliesInner
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SendPrivateReplyToCommentRequestQuickRepliesInner
impl<'de> Deserialize<'de> for SendPrivateReplyToCommentRequestQuickRepliesInner
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 SendPrivateReplyToCommentRequestQuickRepliesInner
impl PartialEq for SendPrivateReplyToCommentRequestQuickRepliesInner
Source§fn eq(&self, other: &SendPrivateReplyToCommentRequestQuickRepliesInner) -> bool
fn eq(&self, other: &SendPrivateReplyToCommentRequestQuickRepliesInner) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SendPrivateReplyToCommentRequestQuickRepliesInner
Auto Trait Implementations§
impl Freeze for SendPrivateReplyToCommentRequestQuickRepliesInner
impl RefUnwindSafe for SendPrivateReplyToCommentRequestQuickRepliesInner
impl Send for SendPrivateReplyToCommentRequestQuickRepliesInner
impl Sync for SendPrivateReplyToCommentRequestQuickRepliesInner
impl Unpin for SendPrivateReplyToCommentRequestQuickRepliesInner
impl UnsafeUnpin for SendPrivateReplyToCommentRequestQuickRepliesInner
impl UnwindSafe for SendPrivateReplyToCommentRequestQuickRepliesInner
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