pub struct DepreciationError {
pub asset_number: String,
pub error_code: DepreciationErrorCode,
pub message: String,
}Expand description
Error during depreciation run.
Fields§
§asset_number: StringAsset number.
error_code: DepreciationErrorCodeError code.
message: StringError message.
Trait Implementations§
Source§impl Clone for DepreciationError
impl Clone for DepreciationError
Source§fn clone(&self) -> DepreciationError
fn clone(&self) -> DepreciationError
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 DepreciationError
impl Debug for DepreciationError
Source§impl<'de> Deserialize<'de> for DepreciationError
impl<'de> Deserialize<'de> for DepreciationError
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 DepreciationError
impl RefUnwindSafe for DepreciationError
impl Send for DepreciationError
impl Sync for DepreciationError
impl Unpin for DepreciationError
impl UnwindSafe for DepreciationError
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