Enum decthings_api::rpc::model::UpdateModelStateError
source · pub enum UpdateModelStateError {
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 UpdateModelStateError
impl Clone for UpdateModelStateError
source§fn clone(&self) -> UpdateModelStateError
fn clone(&self) -> UpdateModelStateError
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 UpdateModelStateError
impl Debug for UpdateModelStateError
source§impl<'de> Deserialize<'de> for UpdateModelStateError
impl<'de> Deserialize<'de> for UpdateModelStateError
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 UpdateModelStateError
impl RefUnwindSafe for UpdateModelStateError
impl Send for UpdateModelStateError
impl Sync for UpdateModelStateError
impl Unpin for UpdateModelStateError
impl UnwindSafe for UpdateModelStateError
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