pub struct X402CreditBalanceInput {
pub payer_address: String,
pub asset: Option<String>,
pub network: Option<String>,
}Fields§
§payer_address: String§asset: Option<String>§network: Option<String>Trait Implementations§
Source§impl Clone for X402CreditBalanceInput
impl Clone for X402CreditBalanceInput
Source§fn clone(&self) -> X402CreditBalanceInput
fn clone(&self) -> X402CreditBalanceInput
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 X402CreditBalanceInput
impl<'de> Deserialize<'de> for X402CreditBalanceInput
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 FromNapiValue for X402CreditBalanceInput
impl FromNapiValue for X402CreditBalanceInput
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 X402CreditBalanceInput
impl Serialize for X402CreditBalanceInput
Source§impl ToNapiValue for X402CreditBalanceInput
impl ToNapiValue for X402CreditBalanceInput
Source§unsafe fn to_napi_value(
env: napi_env,
val: X402CreditBalanceInput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: X402CreditBalanceInput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for X402CreditBalanceInput
impl TypeName for X402CreditBalanceInput
Source§impl ValidateNapiValue for X402CreditBalanceInput
impl ValidateNapiValue for X402CreditBalanceInput
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 X402CreditBalanceInput
impl RefUnwindSafe for X402CreditBalanceInput
impl Send for X402CreditBalanceInput
impl Sync for X402CreditBalanceInput
impl Unpin for X402CreditBalanceInput
impl UnsafeUnpin for X402CreditBalanceInput
impl UnwindSafe for X402CreditBalanceInput
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