Struct rust_tdlib::types::GetChatHistory
source · [−]pub struct GetChatHistory { /* private fields */ }Expand description
Returns messages in a chat. The messages are returned in a reverse chronological order (i.e., in order of decreasing message_id). For optimal performance, the number of returned messages is chosen by TDLib. This is an offline request if only_local is true
Implementations
sourceimpl GetChatHistory
impl GetChatHistory
Trait Implementations
sourceimpl AsRef<GetChatHistory> for GetChatHistory
impl AsRef<GetChatHistory> for GetChatHistory
sourcefn as_ref(&self) -> &GetChatHistory
fn as_ref(&self) -> &GetChatHistory
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GetChatHistory
impl Clone for GetChatHistory
sourcefn clone(&self) -> GetChatHistory
fn clone(&self) -> GetChatHistory
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for GetChatHistory
impl Debug for GetChatHistory
sourceimpl Default for GetChatHistory
impl Default for GetChatHistory
sourcefn default() -> GetChatHistory
fn default() -> GetChatHistory
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetChatHistory
impl<'de> Deserialize<'de> for GetChatHistory
sourcefn 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
sourceimpl Serialize for GetChatHistory
impl Serialize for GetChatHistory
Auto Trait Implementations
impl RefUnwindSafe for GetChatHistory
impl Send for GetChatHistory
impl Sync for GetChatHistory
impl Unpin for GetChatHistory
impl UnwindSafe for GetChatHistory
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more