pub struct X402AgentCardInput {Show 17 fields
pub name: String,
pub description: Option<String>,
pub wallet_address: String,
pub public_key: String,
pub supported_networks: Option<Vec<String>>,
pub supported_assets: Option<Vec<String>>,
pub a2a_skills: Option<Vec<String>>,
pub trust_level: Option<String>,
pub endpoint_url: Option<String>,
pub endpoint_protocol: Option<String>,
pub merchant_id: Option<String>,
pub merchant_name: Option<String>,
pub business_category: Option<String>,
pub max_transaction_amount: Option<i64>,
pub daily_volume_limit: Option<i64>,
pub requires_kyc: Option<bool>,
pub metadata: Option<String>,
}Fields§
§name: String§description: Option<String>§wallet_address: String§public_key: String§supported_networks: Option<Vec<String>>§supported_assets: Option<Vec<String>>§a2a_skills: Option<Vec<String>>§trust_level: Option<String>§endpoint_url: Option<String>§endpoint_protocol: Option<String>§merchant_id: Option<String>§merchant_name: Option<String>§business_category: Option<String>§max_transaction_amount: Option<i64>§daily_volume_limit: Option<i64>§requires_kyc: Option<bool>§metadata: Option<String>Trait Implementations§
Source§impl Clone for X402AgentCardInput
impl Clone for X402AgentCardInput
Source§fn clone(&self) -> X402AgentCardInput
fn clone(&self) -> X402AgentCardInput
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 X402AgentCardInput
impl<'de> Deserialize<'de> for X402AgentCardInput
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 X402AgentCardInput
impl FromNapiValue for X402AgentCardInput
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 X402AgentCardInput
impl Serialize for X402AgentCardInput
Source§impl ToNapiValue for X402AgentCardInput
impl ToNapiValue for X402AgentCardInput
Source§unsafe fn to_napi_value(
env: napi_env,
val: X402AgentCardInput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: X402AgentCardInput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for X402AgentCardInput
impl TypeName for X402AgentCardInput
Source§impl ValidateNapiValue for X402AgentCardInput
impl ValidateNapiValue for X402AgentCardInput
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 X402AgentCardInput
impl RefUnwindSafe for X402AgentCardInput
impl Send for X402AgentCardInput
impl Sync for X402AgentCardInput
impl Unpin for X402AgentCardInput
impl UnsafeUnpin for X402AgentCardInput
impl UnwindSafe for X402AgentCardInput
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