pub struct RefundOutput {
pub id: String,
pub refund_number: String,
pub payment_id: String,
pub amount: f64,
pub status: String,
pub reason: Option<String>,
pub created_at: String,
pub idempotency_key: Option<String>,
}Fields§
§id: String§refund_number: String§payment_id: String§amount: f64§status: String§reason: Option<String>§created_at: String§idempotency_key: Option<String>Trait Implementations§
Source§impl Clone for RefundOutput
impl Clone for RefundOutput
Source§fn clone(&self) -> RefundOutput
fn clone(&self) -> RefundOutput
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<'de> Deserialize<'de> for RefundOutput
impl<'de> Deserialize<'de> for RefundOutput
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
Source§impl From<Refund> for RefundOutput
impl From<Refund> for RefundOutput
Source§impl FromNapiValue for RefundOutput
impl FromNapiValue for RefundOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl Serialize for RefundOutput
impl Serialize for RefundOutput
Source§impl ToNapiValue for RefundOutput
impl ToNapiValue for RefundOutput
Source§unsafe fn to_napi_value(env: napi_env, val: RefundOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: RefundOutput) -> Result<napi_value>
Safety Read more
Source§impl TypeName for RefundOutput
impl TypeName for RefundOutput
Source§impl ValidateNapiValue for RefundOutput
impl ValidateNapiValue for RefundOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for RefundOutput
impl RefUnwindSafe for RefundOutput
impl Send for RefundOutput
impl Sync for RefundOutput
impl Unpin for RefundOutput
impl UnsafeUnpin for RefundOutput
impl UnwindSafe for RefundOutput
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