pub struct ToolLease {Show 21 fields
pub protocol: String,
pub lease_id: String,
pub lineage_id: String,
pub graph_id: String,
pub graph_version: String,
pub run_id: String,
pub node_id: String,
pub issued_at: DateTime<Utc>,
pub expires_at: DateTime<Utc>,
pub tool_allowlist: Vec<String>,
pub effect_allowlist: Vec<ToolEffect>,
pub max_tool_calls: u64,
pub max_recursive_calls: u64,
pub max_agent_depth: u64,
pub max_graph_depth: u64,
pub max_children: u64,
pub agent_depth: u64,
pub graph_depth: u64,
pub active_stack: Vec<String>,
pub counters: ToolCounters,
pub parent_receipt_digest: Option<String>,
}Fields§
§protocol: String§lease_id: String§lineage_id: String§graph_id: String§graph_version: String§run_id: String§node_id: String§issued_at: DateTime<Utc>§expires_at: DateTime<Utc>§tool_allowlist: Vec<String>§effect_allowlist: Vec<ToolEffect>§max_tool_calls: u64§max_recursive_calls: u64§max_agent_depth: u64§max_graph_depth: u64§max_children: u64§agent_depth: u64§graph_depth: u64§active_stack: Vec<String>§counters: ToolCounters§parent_receipt_digest: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ToolLease
impl<'de> Deserialize<'de> for ToolLease
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
impl Eq for ToolLease
impl StructuralPartialEq for ToolLease
Auto Trait Implementations§
impl Freeze for ToolLease
impl RefUnwindSafe for ToolLease
impl Send for ToolLease
impl Sync for ToolLease
impl Unpin for ToolLease
impl UnsafeUnpin for ToolLease
impl UnwindSafe for ToolLease
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.