pub struct ReturnOutput {
pub id: String,
pub order_id: String,
pub status: String,
pub reason: String,
pub version: i32,
pub created_at: String,
pub idempotency_key: Option<String>,
}Fields§
§id: String§order_id: String§status: String§reason: String§version: i32§created_at: String§idempotency_key: Option<String>Trait Implementations§
Source§impl Clone for ReturnOutput
impl Clone for ReturnOutput
Source§fn clone(&self) -> ReturnOutput
fn clone(&self) -> ReturnOutput
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 ReturnOutput
impl<'de> Deserialize<'de> for ReturnOutput
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<Return> for ReturnOutput
impl From<Return> for ReturnOutput
Source§impl FromNapiValue for ReturnOutput
impl FromNapiValue for ReturnOutput
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 ReturnOutput
impl Serialize for ReturnOutput
Source§impl ToNapiValue for ReturnOutput
impl ToNapiValue for ReturnOutput
Source§unsafe fn to_napi_value(env: napi_env, val: ReturnOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: ReturnOutput) -> Result<napi_value>
Safety Read more
Source§impl TypeName for ReturnOutput
impl TypeName for ReturnOutput
Source§impl ValidateNapiValue for ReturnOutput
impl ValidateNapiValue for ReturnOutput
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 ReturnOutput
impl RefUnwindSafe for ReturnOutput
impl Send for ReturnOutput
impl Sync for ReturnOutput
impl Unpin for ReturnOutput
impl UnsafeUnpin for ReturnOutput
impl UnwindSafe for ReturnOutput
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