pub struct UpdateChargeFraudDetails {
pub user_report: UpdateChargeFraudDetailsUserReport,
}
Expand description
A set of key-value pairs you can attach to a charge giving information about its riskiness.
If you believe a charge is fraudulent, include a user_report
key with a value of fraudulent
.
If you believe a charge is safe, include a user_report
key with a value of safe
.
Stripe will use the information you send to improve our fraud detection algorithms.
Fields§
§user_report: UpdateChargeFraudDetailsUserReport
Either safe
or fraudulent
.
Implementations§
Source§impl UpdateChargeFraudDetails
impl UpdateChargeFraudDetails
pub fn new(user_report: impl Into<UpdateChargeFraudDetailsUserReport>) -> Self
Trait Implementations§
Source§impl Clone for UpdateChargeFraudDetails
impl Clone for UpdateChargeFraudDetails
Source§fn clone(&self) -> UpdateChargeFraudDetails
fn clone(&self) -> UpdateChargeFraudDetails
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 UpdateChargeFraudDetails
impl Debug for UpdateChargeFraudDetails
Source§impl Serialize for UpdateChargeFraudDetails
impl Serialize for UpdateChargeFraudDetails
impl Copy for UpdateChargeFraudDetails
Auto Trait Implementations§
impl Freeze for UpdateChargeFraudDetails
impl RefUnwindSafe for UpdateChargeFraudDetails
impl Send for UpdateChargeFraudDetails
impl Sync for UpdateChargeFraudDetails
impl Unpin for UpdateChargeFraudDetails
impl UnwindSafe for UpdateChargeFraudDetails
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