pub struct X402IntentOutput {Show 36 fields
pub id: String,
pub version: String,
pub status: String,
pub payer_address: String,
pub payee_address: String,
pub amount: i64,
pub amount_decimal: f64,
pub asset: String,
pub network: String,
pub chain_id: i64,
pub token_address: Option<String>,
pub created_at_unix: i64,
pub valid_until: i64,
pub nonce: i64,
pub idempotency_key: Option<String>,
pub resource_uri: Option<String>,
pub resource_method: Option<String>,
pub description: Option<String>,
pub order_id: Option<String>,
pub invoice_id: Option<String>,
pub merchant_id: Option<String>,
pub signing_hash: Option<String>,
pub payer_signature: Option<String>,
pub payer_public_key: Option<String>,
pub sequence_number: Option<i64>,
pub sequenced_at: Option<String>,
pub batch_id: Option<String>,
pub batch_merkle_root: Option<String>,
pub inclusion_proof: Option<Vec<String>>,
pub tx_hash: Option<String>,
pub block_number: Option<i64>,
pub gas_used: Option<i64>,
pub settled_at: Option<String>,
pub metadata: Option<String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§version: String§status: String§payer_address: String§payee_address: String§amount: i64§amount_decimal: f64§asset: String§network: String§chain_id: i64§token_address: Option<String>§created_at_unix: i64§valid_until: i64§nonce: i64§idempotency_key: Option<String>§resource_uri: Option<String>§resource_method: Option<String>§description: Option<String>§order_id: Option<String>§invoice_id: Option<String>§merchant_id: Option<String>§signing_hash: Option<String>§payer_signature: Option<String>§payer_public_key: Option<String>§sequence_number: Option<i64>§sequenced_at: Option<String>§batch_id: Option<String>§batch_merkle_root: Option<String>§inclusion_proof: Option<Vec<String>>§tx_hash: Option<String>§block_number: Option<i64>§gas_used: Option<i64>§settled_at: Option<String>§metadata: Option<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for X402IntentOutput
impl Clone for X402IntentOutput
Source§fn clone(&self) -> X402IntentOutput
fn clone(&self) -> X402IntentOutput
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 X402IntentOutput
impl<'de> Deserialize<'de> for X402IntentOutput
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<X402PaymentIntent> for X402IntentOutput
impl From<X402PaymentIntent> for X402IntentOutput
Source§fn from(intent: X402PaymentIntent) -> Self
fn from(intent: X402PaymentIntent) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for X402IntentOutput
impl FromNapiValue for X402IntentOutput
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 X402IntentOutput
impl Serialize for X402IntentOutput
Source§impl ToNapiValue for X402IntentOutput
impl ToNapiValue for X402IntentOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: X402IntentOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: X402IntentOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for X402IntentOutput
impl TypeName for X402IntentOutput
Source§impl ValidateNapiValue for X402IntentOutput
impl ValidateNapiValue for X402IntentOutput
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 X402IntentOutput
impl RefUnwindSafe for X402IntentOutput
impl Send for X402IntentOutput
impl Sync for X402IntentOutput
impl Unpin for X402IntentOutput
impl UnsafeUnpin for X402IntentOutput
impl UnwindSafe for X402IntentOutput
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