pub struct ReplyMarkupForceReply {
pub is_personal: bool,
pub input_field_placeholder: String,
}
Expand description
Instructs application to force a reply to this message
Fields§
§is_personal: bool
True, if a forced reply must automatically be shown to the current user. For outgoing messages, specify true to show the forced reply only for the mentioned users and for the target user of a reply
input_field_placeholder: String
If non-empty, the placeholder to be shown in the input field when the reply is active; 0-64 characters
Trait Implementations§
Source§impl Clone for ReplyMarkupForceReply
impl Clone for ReplyMarkupForceReply
Source§fn clone(&self) -> ReplyMarkupForceReply
fn clone(&self) -> ReplyMarkupForceReply
Returns a duplicate 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 ReplyMarkupForceReply
impl Debug for ReplyMarkupForceReply
Source§impl Default for ReplyMarkupForceReply
impl Default for ReplyMarkupForceReply
Source§fn default() -> ReplyMarkupForceReply
fn default() -> ReplyMarkupForceReply
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReplyMarkupForceReply
impl<'de> Deserialize<'de> for ReplyMarkupForceReply
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 ReplyMarkupForceReply
impl PartialEq for ReplyMarkupForceReply
Source§impl Serialize for ReplyMarkupForceReply
impl Serialize for ReplyMarkupForceReply
impl StructuralPartialEq for ReplyMarkupForceReply
Auto Trait Implementations§
impl Freeze for ReplyMarkupForceReply
impl RefUnwindSafe for ReplyMarkupForceReply
impl Send for ReplyMarkupForceReply
impl Sync for ReplyMarkupForceReply
impl Unpin for ReplyMarkupForceReply
impl UnwindSafe for ReplyMarkupForceReply
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