pub enum GetModeratorError {
DefaultResponse(ApiError),
UnknownValue(Value),
}Expand description
struct for typed errors of method get_moderator
Variants§
Trait Implementations§
Source§impl Clone for GetModeratorError
impl Clone for GetModeratorError
Source§impl Debug for GetModeratorError
impl Debug for GetModeratorError
Source§impl<'de> Deserialize<'de> for GetModeratorError
impl<'de> Deserialize<'de> for GetModeratorError
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 Forget for GetModeratorError
impl Freeze for GetModeratorErrorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const CustomConfigParameters is !null: Freeze,
PhantomData<CustomConfigParameters>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for GetModeratorError
impl RefUnwindSafe for GetModeratorError
impl Send for GetModeratorError
impl Sync for GetModeratorError
impl Unpin for GetModeratorError
impl UnsafeUnpin for GetModeratorErrorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const CustomConfigParameters is !null: UnsafeUnpin,
PhantomData<CustomConfigParameters>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for GetModeratorErrorwhere
RawVecInner: UnwindSafe,
BoxRaw<CustomConfigParameters>: UnwindSafe,
BTreeMap<String, Value>: UnwindSafe,
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