pub struct PreparedInlineMessage {
pub id: String,
pub expiration_date: i64,
}
Expand description
Describes an inline message to be sent by a user of a Mini App.
Fields§
§id: String
Unique identifier of the prepared message.
expiration_date: i64
Expiration date of the prepared message, in Unix time. Expired prepared messages can no longer be used.
Implementations§
Trait Implementations§
Source§impl Clone for PreparedInlineMessage
impl Clone for PreparedInlineMessage
Source§fn clone(&self) -> PreparedInlineMessage
fn clone(&self) -> PreparedInlineMessage
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 PreparedInlineMessage
impl Debug for PreparedInlineMessage
Source§impl<'de> Deserialize<'de> for PreparedInlineMessage
impl<'de> Deserialize<'de> for PreparedInlineMessage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreparedInlineMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PreparedInlineMessage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PreparedInlineMessage
impl PartialEq for PreparedInlineMessage
Source§impl PartialOrd for PreparedInlineMessage
impl PartialOrd for PreparedInlineMessage
Source§impl Serialize for PreparedInlineMessage
impl Serialize for PreparedInlineMessage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for PreparedInlineMessage
Auto Trait Implementations§
impl Freeze for PreparedInlineMessage
impl RefUnwindSafe for PreparedInlineMessage
impl Send for PreparedInlineMessage
impl Sync for PreparedInlineMessage
impl Unpin for PreparedInlineMessage
impl UnwindSafe for PreparedInlineMessage
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