pub struct UpdateAgentIdentity {
pub agent_uri: Option<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 updating an agent identity.
Fields§
§agent_uri: Option<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 UpdateAgentIdentity
impl Clone for UpdateAgentIdentity
Source§fn clone(&self) -> UpdateAgentIdentity
fn clone(&self) -> UpdateAgentIdentity
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 UpdateAgentIdentity
impl Debug for UpdateAgentIdentity
Source§impl Default for UpdateAgentIdentity
impl Default for UpdateAgentIdentity
Source§fn default() -> UpdateAgentIdentity
fn default() -> UpdateAgentIdentity
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateAgentIdentity
impl<'de> Deserialize<'de> for UpdateAgentIdentity
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateAgentIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UpdateAgentIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for UpdateAgentIdentity
impl Serialize for UpdateAgentIdentity
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 UpdateAgentIdentity
impl RefUnwindSafe for UpdateAgentIdentity
impl Send for UpdateAgentIdentity
impl Sync for UpdateAgentIdentity
impl Unpin for UpdateAgentIdentity
impl UnsafeUnpin for UpdateAgentIdentity
impl UnwindSafe for UpdateAgentIdentity
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