pub struct PreparedInlineMessageId {
pub id: String,
pub expiration_date: i32,
}Expand description
Represents an inline message that can be sent via the bot
Fields§
§id: StringUnique identifier for the message
expiration_date: i32Point in time (Unix timestamp) when the message can’t be used anymore
Trait Implementations§
Source§impl Clone for PreparedInlineMessageId
impl Clone for PreparedInlineMessageId
Source§fn clone(&self) -> PreparedInlineMessageId
fn clone(&self) -> PreparedInlineMessageId
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 PreparedInlineMessageId
impl Debug for PreparedInlineMessageId
Source§impl Default for PreparedInlineMessageId
impl Default for PreparedInlineMessageId
Source§fn default() -> PreparedInlineMessageId
fn default() -> PreparedInlineMessageId
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreparedInlineMessageId
impl<'de> Deserialize<'de> for PreparedInlineMessageId
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 PreparedInlineMessageId
impl PartialEq for PreparedInlineMessageId
Source§impl Serialize for PreparedInlineMessageId
impl Serialize for PreparedInlineMessageId
impl StructuralPartialEq for PreparedInlineMessageId
Auto Trait Implementations§
impl Freeze for PreparedInlineMessageId
impl RefUnwindSafe for PreparedInlineMessageId
impl Send for PreparedInlineMessageId
impl Sync for PreparedInlineMessageId
impl Unpin for PreparedInlineMessageId
impl UnsafeUnpin for PreparedInlineMessageId
impl UnwindSafe for PreparedInlineMessageId
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