pub struct AgentCreateResponse {
pub account_id: Option<Uuid>,
pub api_key: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub id: Option<Uuid>,
pub name: Option<String>,
pub payment_method: Option<String>,
pub status: Option<String>,
}Expand description
AgentCreateResponse
Fields§
§account_id: Option<Uuid>Associated account identifier
api_key: Option<String>Raw API key — returned once, never stored. Agent must persist this.
created_at: Option<DateTime<Utc>>Agent creation timestamp
id: Option<Uuid>Unique agent identifier
name: Option<String>Agent display name
payment_method: Option<String>How this agent pays when posting tasks (derived from payout_chain)
status: Option<String>Initial agent status
Trait Implementations§
Source§impl Clone for AgentCreateResponse
impl Clone for AgentCreateResponse
Source§impl Debug for AgentCreateResponse
impl Debug for AgentCreateResponse
Source§impl Default for AgentCreateResponse
impl Default for AgentCreateResponse
Source§impl<'de> Deserialize<'de> for AgentCreateResponse
impl<'de> Deserialize<'de> for AgentCreateResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AgentCreateResponse
impl RefUnwindSafe for AgentCreateResponse
impl Send for AgentCreateResponse
impl Sync for AgentCreateResponse
impl Unpin for AgentCreateResponse
impl UnsafeUnpin for AgentCreateResponse
impl UnwindSafe for AgentCreateResponse
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