pub struct ChatBoost {
pub boost_id: String,
pub add_date: i64,
pub expiration_date: i64,
pub source: Value,
}Expand description
Information about a chat boost.
Fields§
§boost_id: StringUnique identifier of the boost.
add_date: i64Unix timestamp when the boost was added.
expiration_date: i64Unix timestamp when the boost expires.
source: ValueSource of the boost.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ChatBoost
impl<'de> Deserialize<'de> for ChatBoost
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 ChatBoost
impl RefUnwindSafe for ChatBoost
impl Send for ChatBoost
impl Sync for ChatBoost
impl Unpin for ChatBoost
impl UnsafeUnpin for ChatBoost
impl UnwindSafe for ChatBoost
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