pub struct AgentSessionStartHook {
pub id: String,
pub type: String,
pub command: Vec<String>,
pub cwd: String,
pub timeout: String,
pub env: BTreeMap<String, String>,
pub output: Option<AgentSessionStartHookOutput>,
}Expand description
Native message type for gestalt.provider.v1.AgentSessionStartHook.
Fields§
§id: StringThe id field.
type: StringThe type field.
command: Vec<String>The command field.
cwd: StringThe cwd field.
timeout: StringThe timeout field.
env: BTreeMap<String, String>The env field.
output: Option<AgentSessionStartHookOutput>The output field; None when unset.
Trait Implementations§
Source§impl Clone for AgentSessionStartHook
impl Clone for AgentSessionStartHook
Source§fn clone(&self) -> AgentSessionStartHook
fn clone(&self) -> AgentSessionStartHook
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 AgentSessionStartHook
impl Debug for AgentSessionStartHook
Source§impl Default for AgentSessionStartHook
impl Default for AgentSessionStartHook
Source§fn default() -> AgentSessionStartHook
fn default() -> AgentSessionStartHook
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AgentSessionStartHook
impl<'de> Deserialize<'de> for AgentSessionStartHook
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 PartialEq for AgentSessionStartHook
impl PartialEq for AgentSessionStartHook
Source§impl Serialize for AgentSessionStartHook
impl Serialize for AgentSessionStartHook
impl StructuralPartialEq for AgentSessionStartHook
Auto Trait Implementations§
impl Freeze for AgentSessionStartHook
impl RefUnwindSafe for AgentSessionStartHook
impl Send for AgentSessionStartHook
impl Sync for AgentSessionStartHook
impl Unpin for AgentSessionStartHook
impl UnsafeUnpin for AgentSessionStartHook
impl UnwindSafe for AgentSessionStartHook
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
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<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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