pub struct BindRequest {
pub tool_use_id: String,
pub command: Option<String>,
}Expand description
Body of POST /leases/{id}/bind: the PreToolUse hook let a command run under the lease.
Fields§
§tool_use_id: StringClaude Code’s ID for the tool call that runs the command.
command: Option<String>The command as the hook saw it, for the log.
Trait Implementations§
Source§impl Clone for BindRequest
impl Clone for BindRequest
Source§impl Debug for BindRequest
impl Debug for BindRequest
Source§impl<'de> Deserialize<'de> for BindRequest
impl<'de> Deserialize<'de> for BindRequest
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 BindRequest
Source§impl PartialEq for BindRequest
impl PartialEq for BindRequest
Source§impl Serialize for BindRequest
impl Serialize for BindRequest
impl StructuralPartialEq for BindRequest
Auto Trait Implementations§
impl Forget for BindRequest
impl Freeze for BindRequest
impl RefUnwindSafe for BindRequest
impl Send for BindRequest
impl Sync for BindRequest
impl Unpin for BindRequest
impl UnsafeUnpin for BindRequest
impl UnwindSafe for BindRequest
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