Struct rust_tdlib::types::GetChatEventLog  
source · [−]pub struct GetChatEventLog { /* private fields */ }Expand description
Returns a list of service actions taken by chat members and administrators in the last 48 hours. Available only for supergroups and channels. Requires administrator rights. Returns results in reverse chronological order (i. e., in order of decreasing event_id)
Implementations
sourceimpl GetChatEventLog
 
impl GetChatEventLog
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> GetChatEventLogBuilder
pub fn chat_id(&self) -> i64
pub fn query(&self) -> &String
pub fn from_event_id(&self) -> i64
pub fn limit(&self) -> i32
pub fn filters(&self) -> &ChatEventLogFilters
pub fn user_ids(&self) -> &Vec<i64>
Trait Implementations
sourceimpl AsRef<GetChatEventLog> for GetChatEventLog
 
impl AsRef<GetChatEventLog> for GetChatEventLog
sourcefn as_ref(&self) -> &GetChatEventLog
 
fn as_ref(&self) -> &GetChatEventLog
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GetChatEventLog
 
impl Clone for GetChatEventLog
sourcefn clone(&self) -> GetChatEventLog
 
fn clone(&self) -> GetChatEventLog
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 GetChatEventLog
 
impl Debug for GetChatEventLog
sourceimpl Default for GetChatEventLog
 
impl Default for GetChatEventLog
sourcefn default() -> GetChatEventLog
 
fn default() -> GetChatEventLog
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetChatEventLog
 
impl<'de> Deserialize<'de> for GetChatEventLog
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 GetChatEventLog
 
impl Serialize for GetChatEventLog
Auto Trait Implementations
impl RefUnwindSafe for GetChatEventLog
impl Send for GetChatEventLog
impl Sync for GetChatEventLog
impl Unpin for GetChatEventLog
impl UnwindSafe for GetChatEventLog
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