pub enum GetContractTemplateByIdError {
Status404(HttpContractDoesNotExistError),
DefaultResponse(ErrorSchema),
UnknownValue(Value),
}
Expand description
struct for typed errors of method [get_contract_template_by_id
]
Variants§
Trait Implementations§
Source§impl Clone for GetContractTemplateByIdError
impl Clone for GetContractTemplateByIdError
Source§fn clone(&self) -> GetContractTemplateByIdError
fn clone(&self) -> GetContractTemplateByIdError
Returns a duplicate 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 GetContractTemplateByIdError
impl Debug for GetContractTemplateByIdError
Source§impl<'de> Deserialize<'de> for GetContractTemplateByIdError
impl<'de> Deserialize<'de> for GetContractTemplateByIdError
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 GetContractTemplateByIdError
impl RefUnwindSafe for GetContractTemplateByIdError
impl Send for GetContractTemplateByIdError
impl Sync for GetContractTemplateByIdError
impl Unpin for GetContractTemplateByIdError
impl UnwindSafe for GetContractTemplateByIdError
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