pub enum UpdatePowerpackError {
APIErrorResponse(APIErrorResponse),
UnknownValue(Value),
}
Expand description
UpdatePowerpackError is a struct for typed errors of method PowerpackAPI::update_powerpack
Variants§
APIErrorResponse(APIErrorResponse)
UnknownValue(Value)
Trait Implementations§
Source§impl Clone for UpdatePowerpackError
impl Clone for UpdatePowerpackError
Source§fn clone(&self) -> UpdatePowerpackError
fn clone(&self) -> UpdatePowerpackError
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for UpdatePowerpackError
impl Debug for UpdatePowerpackError
Source§impl<'de> Deserialize<'de> for UpdatePowerpackError
impl<'de> Deserialize<'de> for UpdatePowerpackError
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 UpdatePowerpackError
impl RefUnwindSafe for UpdatePowerpackError
impl Send for UpdatePowerpackError
impl Sync for UpdatePowerpackError
impl Unpin for UpdatePowerpackError
impl UnwindSafe for UpdatePowerpackError
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