pub struct Input {
pub pet_name: Name,
pub owner_display_name: Name,
pub policy_snapshot_id: Id,
pub notes: Vec<CareNote>,
}Expand description
Input used by the daily update workflow; it packages operational changes into reviewable staff updates instead of free-form agent output.
Fields§
§pet_name: NamePet name copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
owner_display_name: NameOwner display name copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
policy_snapshot_id: IdPolicy snapshot id copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
notes: Vec<CareNote>Notes copied from reviewed source input for audit, reviewer explanation, or agent context; callers must not invent or mutate it.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Input
impl<'de> Deserialize<'de> for Input
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
Source§impl WorkflowAgent<Input, Output> for Agent
impl WorkflowAgent<Input, Output> for Agent
Source§fn build_prompt_packet(
&self,
event: &Event,
input: Input,
) -> AgentPromptPacket<Input>
fn build_prompt_packet( &self, event: &Event, input: Input, ) -> AgentPromptPacket<Input>
Builds the prompt packet for one workflow event and typed input payload. Read more
impl Eq for Input
impl StructuralPartialEq for Input
Auto Trait Implementations§
impl Freeze for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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