[−][src]Struct telexide::model::AdministratorMemberStatus
Represents a ChatMember
who is an Admin of the Chat
.
Fields
user: User
Information about the user
custom_title: Option<String>
Custom title for this user
is_anonymous: bool
Owner and administrators only. True, if the user's presence in the chat is hidden
can_be_edited: bool
True, if the bot is allowed to edit administrator privileges of that use
can_send_media_messages: bool
True, if the administrator can post in the channel; channels only
can_send_polls: bool
True, if the user is allowed to send polls
can_send_other_messages: bool
True, if the user is allowed to send animations, games, stickers and use inline bots
can_add_web_page_previews: bool
True, if the user is allowed to add web page previews to their messages
Trait Implementations
impl Clone for AdministratorMemberStatus
[src]
fn clone(&self) -> AdministratorMemberStatus
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for AdministratorMemberStatus
[src]
impl<'de> Deserialize<'de> for AdministratorMemberStatus
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<AdministratorMemberStatus> for AdministratorMemberStatus
[src]
fn eq(&self, other: &AdministratorMemberStatus) -> bool
[src]
fn ne(&self, other: &AdministratorMemberStatus) -> bool
[src]
impl Serialize for AdministratorMemberStatus
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for AdministratorMemberStatus
[src]
Auto Trait Implementations
impl RefUnwindSafe for AdministratorMemberStatus
impl Send for AdministratorMemberStatus
impl Sync for AdministratorMemberStatus
impl Unpin for AdministratorMemberStatus
impl UnwindSafe for AdministratorMemberStatus
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CloneAny for T where
T: Clone + Any,
[src]
T: Clone + Any,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
[src]
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
[src]
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
[src]
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
[src]
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> DebugAny for T where
T: Any + Debug,
[src]
T: Any + Debug,
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnsafeAny for T where
T: Any,
T: Any,