pub enum SetStealthError {
ChatNotFound(ChatNotFound),
NoPermissionForOperation(NoPermissionForOperation),
Other,
}Expand description
Ошибки при включении стелс режима в чате
Variants§
ChatNotFound(ChatNotFound)
Чат не найден
NoPermissionForOperation(NoPermissionForOperation)
Бот не является админом чата
Other
Неопределенная ошибка, смотрите логи
Trait Implementations§
Source§impl Clone for SetStealthError
impl Clone for SetStealthError
Source§fn clone(&self) -> SetStealthError
fn clone(&self) -> SetStealthError
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 SetStealthError
impl Debug for SetStealthError
Source§impl<'de> Deserialize<'de> for SetStealthError
impl<'de> Deserialize<'de> for SetStealthError
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 SetStealthError
impl RefUnwindSafe for SetStealthError
impl Send for SetStealthError
impl Sync for SetStealthError
impl Unpin for SetStealthError
impl UnwindSafe for SetStealthError
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