pub struct TelegramNotification {
pub chat_id: i64,
pub message: String,
}
Fields§
§chat_id: i64
§message: String
Trait Implementations§
Source§impl Debug for TelegramNotification
impl Debug for TelegramNotification
Source§impl<'de> Deserialize<'de> for TelegramNotification
impl<'de> Deserialize<'de> for TelegramNotification
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 Display for TelegramNotification
impl Display for TelegramNotification
Source§impl Serialize for TelegramNotification
impl Serialize for TelegramNotification
Auto Trait Implementations§
impl Freeze for TelegramNotification
impl RefUnwindSafe for TelegramNotification
impl Send for TelegramNotification
impl Sync for TelegramNotification
impl Unpin for TelegramNotification
impl UnwindSafe for TelegramNotification
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