pub struct AgentCardFilter {
pub wallet_address: Option<String>,
pub trust_level: Option<TrustLevel>,
pub min_trust_level: Option<TrustLevel>,
pub network: Option<X402Network>,
pub asset: Option<X402Asset>,
pub skill: Option<A2ASkill>,
pub active: Option<bool>,
pub merchant_id: Option<String>,
pub limit: Option<u32>,
pub offset: Option<u32>,
}Expand description
Filter for listing agent cards
Fields§
§wallet_address: Option<String>Filter by wallet address
trust_level: Option<TrustLevel>Filter by trust level
min_trust_level: Option<TrustLevel>Filter by minimum trust level (inclusive)
network: Option<X402Network>Filter by supported network
asset: Option<X402Asset>Filter by supported asset
skill: Option<A2ASkill>Filter by skill
active: Option<bool>Filter by active status
merchant_id: Option<String>Filter by merchant ID
limit: Option<u32>Pagination
offset: Option<u32>Trait Implementations§
Source§impl Clone for AgentCardFilter
impl Clone for AgentCardFilter
Source§fn clone(&self) -> AgentCardFilter
fn clone(&self) -> AgentCardFilter
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 AgentCardFilter
impl Debug for AgentCardFilter
Source§impl Default for AgentCardFilter
impl Default for AgentCardFilter
Source§fn default() -> AgentCardFilter
fn default() -> AgentCardFilter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentCardFilter
impl<'de> Deserialize<'de> for AgentCardFilter
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentCardFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentCardFilter, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AgentCardFilter
impl Serialize for AgentCardFilter
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 AgentCardFilter
impl RefUnwindSafe for AgentCardFilter
impl Send for AgentCardFilter
impl Sync for AgentCardFilter
impl Unpin for AgentCardFilter
impl UnsafeUnpin for AgentCardFilter
impl UnwindSafe for AgentCardFilter
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