Enum decthings_api::rpc::model::SetActiveModelStateError
source · pub enum SetActiveModelStateError {
ModelNotFound,
StateNotFound,
AccessDenied,
BadCredentials,
TooManyRequests,
PaymentRequired,
Unknown,
InvalidParameter {
parameter_name: String,
reason: String,
},
}
Variants§
ModelNotFound
StateNotFound
AccessDenied
BadCredentials
TooManyRequests
PaymentRequired
Unknown
InvalidParameter
Trait Implementations§
source§impl Clone for SetActiveModelStateError
impl Clone for SetActiveModelStateError
source§fn clone(&self) -> SetActiveModelStateError
fn clone(&self) -> SetActiveModelStateError
Returns a copy 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 SetActiveModelStateError
impl Debug for SetActiveModelStateError
source§impl<'de> Deserialize<'de> for SetActiveModelStateError
impl<'de> Deserialize<'de> for SetActiveModelStateError
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 SetActiveModelStateError
impl RefUnwindSafe for SetActiveModelStateError
impl Send for SetActiveModelStateError
impl Sync for SetActiveModelStateError
impl Unpin for SetActiveModelStateError
impl UnwindSafe for SetActiveModelStateError
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