pub struct ViolatedExpectation {
pub expectation_type: String,
pub expected_value: String,
pub actual_value: String,
pub deviation_percentage: f64,
}Expand description
A violated KYC expectation.
Fields§
§expectation_type: StringType of expectation
expected_value: StringExpected value
actual_value: StringActual value
deviation_percentage: f64Deviation percentage
Implementations§
Trait Implementations§
Source§impl Clone for ViolatedExpectation
impl Clone for ViolatedExpectation
Source§fn clone(&self) -> ViolatedExpectation
fn clone(&self) -> ViolatedExpectation
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 ViolatedExpectation
impl Debug for ViolatedExpectation
Source§impl<'de> Deserialize<'de> for ViolatedExpectation
impl<'de> Deserialize<'de> for ViolatedExpectation
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 ViolatedExpectation
impl RefUnwindSafe for ViolatedExpectation
impl Send for ViolatedExpectation
impl Sync for ViolatedExpectation
impl Unpin for ViolatedExpectation
impl UnwindSafe for ViolatedExpectation
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