Struct square_api_client::models::RiskEvaluation
source · pub struct RiskEvaluation {
pub created_at: Option<DateTime>,
pub risk_level: Option<RiskEvaluationRiskLevel>,
}
Expand description
Represents fraud risk information for the associated payment.
When you take a payment through Square’s Payments API (using the CreatePayment
endpoint),
Square evaluates it and assigns a risk level to the payment. Sellers can use this information to
determine the course of action (for example, provide the goods/services or refund the payment).
Fields
created_at: Option<DateTime>
Read only The timestamp when payment risk was evaluated.
risk_level: Option<RiskEvaluationRiskLevel>
The risk level associated with the payment.
Trait Implementations
sourceimpl Clone for RiskEvaluation
impl Clone for RiskEvaluation
sourcefn clone(&self) -> RiskEvaluation
fn clone(&self) -> RiskEvaluation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RiskEvaluation
impl Debug for RiskEvaluation
sourceimpl Default for RiskEvaluation
impl Default for RiskEvaluation
sourcefn default() -> RiskEvaluation
fn default() -> RiskEvaluation
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for RiskEvaluation
impl<'de> Deserialize<'de> for RiskEvaluation
sourcefn 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
sourceimpl PartialEq<RiskEvaluation> for RiskEvaluation
impl PartialEq<RiskEvaluation> for RiskEvaluation
sourcefn eq(&self, other: &RiskEvaluation) -> bool
fn eq(&self, other: &RiskEvaluation) -> bool
sourceimpl Serialize for RiskEvaluation
impl Serialize for RiskEvaluation
impl Eq for RiskEvaluation
impl StructuralEq for RiskEvaluation
impl StructuralPartialEq for RiskEvaluation
Auto Trait Implementations
impl RefUnwindSafe for RiskEvaluation
impl Send for RiskEvaluation
impl Sync for RiskEvaluation
impl Unpin for RiskEvaluation
impl UnwindSafe for RiskEvaluation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.