pub struct X402AgentCardOutput {Show 25 fields
pub id: String,
pub name: String,
pub description: Option<String>,
pub wallet_address: String,
pub public_key: String,
pub supported_networks: Vec<String>,
pub supported_assets: Vec<String>,
pub a2a_skills: Vec<String>,
pub trust_level: String,
pub verified_at: Option<String>,
pub verification_method: 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: bool,
pub active: bool,
pub suspended_at: Option<String>,
pub suspension_reason: Option<String>,
pub metadata: Option<String>,
pub created_at: String,
pub updated_at: String,
}Fields§
§id: String§name: String§description: Option<String>§wallet_address: String§public_key: String§supported_networks: Vec<String>§supported_assets: Vec<String>§a2a_skills: Vec<String>§trust_level: String§verified_at: Option<String>§verification_method: 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: bool§active: bool§suspended_at: Option<String>§suspension_reason: Option<String>§metadata: Option<String>§created_at: String§updated_at: StringTrait Implementations§
Source§impl Clone for X402AgentCardOutput
impl Clone for X402AgentCardOutput
Source§fn clone(&self) -> X402AgentCardOutput
fn clone(&self) -> X402AgentCardOutput
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 X402AgentCardOutput
impl<'de> Deserialize<'de> for X402AgentCardOutput
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<AgentCard> for X402AgentCardOutput
impl From<AgentCard> for X402AgentCardOutput
Source§impl FromNapiValue for X402AgentCardOutput
impl FromNapiValue for X402AgentCardOutput
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 X402AgentCardOutput
impl Serialize for X402AgentCardOutput
Source§impl ToNapiValue for X402AgentCardOutput
impl ToNapiValue for X402AgentCardOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: X402AgentCardOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: X402AgentCardOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for X402AgentCardOutput
impl TypeName for X402AgentCardOutput
Source§impl ValidateNapiValue for X402AgentCardOutput
impl ValidateNapiValue for X402AgentCardOutput
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 X402AgentCardOutput
impl RefUnwindSafe for X402AgentCardOutput
impl Send for X402AgentCardOutput
impl Sync for X402AgentCardOutput
impl Unpin for X402AgentCardOutput
impl UnsafeUnpin for X402AgentCardOutput
impl UnwindSafe for X402AgentCardOutput
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