pub struct CreateAgentIdentity {Show 13 fields
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: Option<bool>,
}Expand description
Input for registering a new agent identity.
Fields§
§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: Option<bool>Trait Implementations§
Source§impl Clone for CreateAgentIdentity
impl Clone for CreateAgentIdentity
Source§fn clone(&self) -> CreateAgentIdentity
fn clone(&self) -> CreateAgentIdentity
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 CreateAgentIdentity
impl Debug for CreateAgentIdentity
Source§impl Default for CreateAgentIdentity
impl Default for CreateAgentIdentity
Source§fn default() -> CreateAgentIdentity
fn default() -> CreateAgentIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CreateAgentIdentity
impl<'de> Deserialize<'de> for CreateAgentIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateAgentIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CreateAgentIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CreateAgentIdentity
impl Serialize for CreateAgentIdentity
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 CreateAgentIdentity
impl RefUnwindSafe for CreateAgentIdentity
impl Send for CreateAgentIdentity
impl Sync for CreateAgentIdentity
impl Unpin for CreateAgentIdentity
impl UnsafeUnpin for CreateAgentIdentity
impl UnwindSafe for CreateAgentIdentity
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