Struct tdlib_types::types::UpdateDeleteMessages
source · pub struct UpdateDeleteMessages {
pub chat_id: i64,
pub message_ids: Vec<i64>,
pub is_permanent: bool,
pub from_cache: bool,
}
Expand description
Some messages were deleted
Fields
chat_id: i64
Chat identifier
message_ids: Vec<i64>
Identifiers of the deleted messages
is_permanent: bool
True, if the messages are permanently deleted by a user (as opposed to just becoming unaccessible)
from_cache: bool
True, if the messages are deleted only from the cache and can possibly be retrieved again in the future
Trait Implementations
sourceimpl Clone for UpdateDeleteMessages
impl Clone for UpdateDeleteMessages
sourcefn clone(&self) -> UpdateDeleteMessages
fn clone(&self) -> UpdateDeleteMessages
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 moresourceimpl Debug for UpdateDeleteMessages
impl Debug for UpdateDeleteMessages
sourceimpl<'de> Deserialize<'de> for UpdateDeleteMessages
impl<'de> Deserialize<'de> for UpdateDeleteMessages
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 UpdateDeleteMessages
impl Serialize for UpdateDeleteMessages
Auto Trait Implementations
impl RefUnwindSafe for UpdateDeleteMessages
impl Send for UpdateDeleteMessages
impl Sync for UpdateDeleteMessages
impl Unpin for UpdateDeleteMessages
impl UnwindSafe for UpdateDeleteMessages
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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