pub struct AgentAddStepRequest {
pub agent_id: String,
pub step_type: String,
pub branch_id: u64,
pub content: Vec<u8>,
pub metadata: Vec<u8>,
pub embedding: Vec<f32>,
pub scope: String,
pub scope_owner: String,
pub field_acl_json: Vec<u8>,
}Fields§
§agent_id: String§step_type: String“Observe”, “Think”, “Act”, “Tool”, “Result”
branch_id: u64§content: Vec<u8>§metadata: Vec<u8>§embedding: Vec<f32>optional embedding vector
scope: StringMemory scope (issue #697 / #849). Empty scope defaults to “world”
(backward compatible). scope_owner is the team id for “team”, the agent
id for “private”, empty for “world”. field_acl_json is an optional
JSON-encoded \[{"json_pointer","min_scope"}\] array of field-level ACL rules.
“world” | “team” | “private”
scope_owner: Stringteam id / agent id; empty for world
field_acl_json: Vec<u8>optional JSON [{json_pointer, min_scope}]
Trait Implementations§
Source§impl Clone for AgentAddStepRequest
impl Clone for AgentAddStepRequest
Source§fn clone(&self) -> AgentAddStepRequest
fn clone(&self) -> AgentAddStepRequest
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 AgentAddStepRequest
impl Debug for AgentAddStepRequest
Source§impl Default for AgentAddStepRequest
impl Default for AgentAddStepRequest
Source§impl Message for AgentAddStepRequest
impl Message for AgentAddStepRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for AgentAddStepRequest
impl PartialEq for AgentAddStepRequest
impl StructuralPartialEq for AgentAddStepRequest
Auto Trait Implementations§
impl Freeze for AgentAddStepRequest
impl RefUnwindSafe for AgentAddStepRequest
impl Send for AgentAddStepRequest
impl Sync for AgentAddStepRequest
impl Unpin for AgentAddStepRequest
impl UnsafeUnpin for AgentAddStepRequest
impl UnwindSafe for AgentAddStepRequest
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request