pub enum GetVotesForUserError {
DefaultResponse(ApiError),
UnknownValue(Value),
}Expand description
struct for typed errors of method get_votes_for_user
Variants§
Trait Implementations§
Source§impl Clone for GetVotesForUserError
impl Clone for GetVotesForUserError
Source§impl Debug for GetVotesForUserError
impl Debug for GetVotesForUserError
Source§impl<'de> Deserialize<'de> for GetVotesForUserError
impl<'de> Deserialize<'de> for GetVotesForUserError
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 GetVotesForUserError
impl Freeze for GetVotesForUserErrorwhere
*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 GetVotesForUserError
impl RefUnwindSafe for GetVotesForUserError
impl Send for GetVotesForUserError
impl Sync for GetVotesForUserError
impl Unpin for GetVotesForUserError
impl UnsafeUnpin for GetVotesForUserErrorwhere
*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 GetVotesForUserErrorwhere
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