pub struct CatapultAgentInput {
pub did: Did,
pub slot: OdaSlot,
pub display_name: String,
pub capabilities: Vec<String>,
pub status: AgentStatus,
pub last_heartbeat: Timestamp,
pub budget_spent_cents: u64,
pub budget_limit_cents: u64,
pub hired_at: Timestamp,
pub hired_by: Did,
pub commandbase_profile: Option<String>,
}Expand description
Caller-supplied deterministic metadata for hiring an agent.
Fields§
§did: Did§slot: OdaSlot§display_name: String§capabilities: Vec<String>§status: AgentStatus§last_heartbeat: Timestamp§budget_spent_cents: u64§budget_limit_cents: u64§hired_at: Timestamp§hired_by: Did§commandbase_profile: Option<String>Trait Implementations§
Source§impl Clone for CatapultAgentInput
impl Clone for CatapultAgentInput
Source§fn clone(&self) -> CatapultAgentInput
fn clone(&self) -> CatapultAgentInput
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 CatapultAgentInput
impl Debug for CatapultAgentInput
Source§impl<'de> Deserialize<'de> for CatapultAgentInput
impl<'de> Deserialize<'de> for CatapultAgentInput
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 CatapultAgentInput
impl RefUnwindSafe for CatapultAgentInput
impl Send for CatapultAgentInput
impl Sync for CatapultAgentInput
impl Unpin for CatapultAgentInput
impl UnsafeUnpin for CatapultAgentInput
impl UnwindSafe for CatapultAgentInput
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