pub enum DisableStealthError {
ChatNotFound(ChatNotFound),
NoPermissionForOperation(NoPermissionForOperation),
Other,
}Expand description
Ошибки при отключении стелс режима в чате
Variants§
ChatNotFound(ChatNotFound)
Чат не найден
NoPermissionForOperation(NoPermissionForOperation)
Бот не является админом чата
Other
Неопределенная ошибка, смотрите логи
Trait Implementations§
Source§impl Clone for DisableStealthError
impl Clone for DisableStealthError
Source§fn clone(&self) -> DisableStealthError
fn clone(&self) -> DisableStealthError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DisableStealthError
impl Debug for DisableStealthError
Source§impl<'de> Deserialize<'de> for DisableStealthError
impl<'de> Deserialize<'de> for DisableStealthError
Source§fn 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 Freeze for DisableStealthError
impl RefUnwindSafe for DisableStealthError
impl Send for DisableStealthError
impl Sync for DisableStealthError
impl Unpin for DisableStealthError
impl UnwindSafe for DisableStealthError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more