pub struct UpdateAgentCard {Show 16 fields
pub name: Option<String>,
pub description: Option<String>,
pub supported_networks: Option<Vec<X402Network>>,
pub supported_assets: Option<Vec<X402Asset>>,
pub a2a_skills: Option<Vec<A2ASkill>>,
pub trust_level: Option<TrustLevel>,
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<u64>,
pub daily_volume_limit: Option<u64>,
pub requires_kyc: Option<bool>,
pub active: Option<bool>,
pub metadata: Option<String>,
}Expand description
Input for updating an agent card
Fields§
§name: Option<String>§description: Option<String>§supported_networks: Option<Vec<X402Network>>§supported_assets: Option<Vec<X402Asset>>§a2a_skills: Option<Vec<A2ASkill>>§trust_level: Option<TrustLevel>§endpoint_url: Option<String>§endpoint_protocol: Option<String>§merchant_id: Option<String>§merchant_name: Option<String>§business_category: Option<String>§max_transaction_amount: Option<u64>§daily_volume_limit: Option<u64>§requires_kyc: Option<bool>§active: Option<bool>§metadata: Option<String>Trait Implementations§
Source§impl Clone for UpdateAgentCard
impl Clone for UpdateAgentCard
Source§fn clone(&self) -> UpdateAgentCard
fn clone(&self) -> UpdateAgentCard
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UpdateAgentCard
impl Debug for UpdateAgentCard
Source§impl Default for UpdateAgentCard
impl Default for UpdateAgentCard
Source§fn default() -> UpdateAgentCard
fn default() -> UpdateAgentCard
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAgentCard
impl<'de> Deserialize<'de> for UpdateAgentCard
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateAgentCard, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateAgentCard, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateAgentCard
impl Serialize for UpdateAgentCard
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UpdateAgentCard
impl RefUnwindSafe for UpdateAgentCard
impl Send for UpdateAgentCard
impl Sync for UpdateAgentCard
impl Unpin for UpdateAgentCard
impl UnsafeUnpin for UpdateAgentCard
impl UnwindSafe for UpdateAgentCard
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