pub struct SendTelegramOptions {
pub rich_message: Option<bool>,
}Fields§
§rich_message: Option<bool>Whether standalone text is sent as a Telegram rich message. Defaults to true; false sends a regular message. Not accepted with attachments.
Implementations§
Source§impl SendTelegramOptions
impl SendTelegramOptions
pub fn serialize<__S>(
__self: &SendTelegramOptions,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> SendTelegramOptions
impl<'de> SendTelegramOptions
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<SendTelegramOptions, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for SendTelegramOptions
impl Clone for SendTelegramOptions
Source§impl Debug for SendTelegramOptions
impl Debug for SendTelegramOptions
Source§impl<'de> Deserialize<'de> for SendTelegramOptions
impl<'de> Deserialize<'de> for SendTelegramOptions
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
Auto Trait Implementations§
impl Freeze for SendTelegramOptions
impl RefUnwindSafe for SendTelegramOptions
impl Send for SendTelegramOptions
impl Sync for SendTelegramOptions
impl Unpin for SendTelegramOptions
impl UnsafeUnpin for SendTelegramOptions
impl UnwindSafe for SendTelegramOptions
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