Struct telegram_api_rs::objects::ForceReply
source · pub struct ForceReply {
pub force_reply: bool,
pub selective: Option<bool>,
}
Fields§
§force_reply: bool
§selective: Option<bool>
Implementations§
source§impl ForceReply
impl ForceReply
pub fn from_json(data: JsonValue) -> ForceReply
pub fn to_json(&self) -> JsonValue
pub fn empty() -> ForceReply
Trait Implementations§
source§impl Clone for ForceReply
impl Clone for ForceReply
source§impl Display for ForceReply
impl Display for ForceReply
source§impl From<ForceReply> for JsonValue
impl From<ForceReply> for JsonValue
source§fn from(u: ForceReply) -> Self
fn from(u: ForceReply) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ForceReply
impl Send for ForceReply
impl Sync for ForceReply
impl Unpin for ForceReply
impl UnwindSafe for ForceReply
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