Struct rust_tdlib::types::GetChatSparseMessagePositions
source · [−]pub struct GetChatSparseMessagePositions { /* private fields */ }Expand description
Returns sparse positions of messages of the specified type in the chat to be used for shared media scroll implementation. Returns the results in reverse chronological order (i.e., in order of decreasing message_id). Cannot be used in secret chats or with searchMessagesFilterFailedToSend filter without an enabled message database
Implementations
Trait Implementations
sourceimpl AsRef<GetChatSparseMessagePositions> for GetChatSparseMessagePositions
impl AsRef<GetChatSparseMessagePositions> for GetChatSparseMessagePositions
sourcefn as_ref(&self) -> &GetChatSparseMessagePositions
fn as_ref(&self) -> &GetChatSparseMessagePositions
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GetChatSparseMessagePositions
impl Clone for GetChatSparseMessagePositions
sourcefn clone(&self) -> GetChatSparseMessagePositions
fn clone(&self) -> GetChatSparseMessagePositions
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 GetChatSparseMessagePositions
impl Debug for GetChatSparseMessagePositions
sourceimpl Default for GetChatSparseMessagePositions
impl Default for GetChatSparseMessagePositions
sourcefn default() -> GetChatSparseMessagePositions
fn default() -> GetChatSparseMessagePositions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetChatSparseMessagePositions
impl<'de> Deserialize<'de> for GetChatSparseMessagePositions
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
Auto Trait Implementations
impl RefUnwindSafe for GetChatSparseMessagePositions
impl Send for GetChatSparseMessagePositions
impl Sync for GetChatSparseMessagePositions
impl Unpin for GetChatSparseMessagePositions
impl UnwindSafe for GetChatSparseMessagePositions
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