pub struct AgentIdentity {Show 16 fields
pub id: Uuid,
pub agent_registry: String,
pub agent_id: String,
pub agent_uri: String,
pub agent_wallet: Option<String>,
pub owner_address: Option<String>,
pub agent_card_id: Option<Uuid>,
pub registration: Option<String>,
pub registration_hash: Option<String>,
pub wallet_proof_type: Option<AgentWalletProofType>,
pub wallet_proof: Option<String>,
pub wallet_proof_chain_id: Option<u64>,
pub wallet_proof_deadline: Option<DateTime<Utc>>,
pub active: bool,
pub created_at: DateTime<Utc>,
pub updated_at: DateTime<Utc>,
}Expand description
Identity record for an on-chain ERC-8004 agent.
Fields§
§id: Uuid§agent_registry: String§agent_id: String§agent_uri: String§agent_wallet: Option<String>§owner_address: Option<String>§agent_card_id: Option<Uuid>§registration: Option<String>§registration_hash: Option<String>§wallet_proof_type: Option<AgentWalletProofType>§wallet_proof: Option<String>§wallet_proof_chain_id: Option<u64>§wallet_proof_deadline: Option<DateTime<Utc>>§active: bool§created_at: DateTime<Utc>§updated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for AgentIdentity
impl Clone for AgentIdentity
Source§fn clone(&self) -> AgentIdentity
fn clone(&self) -> AgentIdentity
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 AgentIdentity
impl Debug for AgentIdentity
Source§impl<'de> Deserialize<'de> for AgentIdentity
impl<'de> Deserialize<'de> for AgentIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AgentIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for AgentIdentity
impl Serialize for AgentIdentity
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 AgentIdentity
impl RefUnwindSafe for AgentIdentity
impl Send for AgentIdentity
impl Sync for AgentIdentity
impl Unpin for AgentIdentity
impl UnsafeUnpin for AgentIdentity
impl UnwindSafe for AgentIdentity
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