pub struct RemoteVpcOptions {
pub base_url: String,
pub vault: Arc<dyn CredentialVault>,
pub auth_credential_key: Option<String>,
pub schemas: Vec<ToolSchema>,
pub timeout_ms: u64,
}Fields§
§base_url: StringBase URL of the remote worker endpoint inside the customer VPC.
Expected route: POST {base_url}/execute body: { name, arguments }
response: { output, isError }
vault: Arc<dyn CredentialVault>§auth_credential_key: Option<String>Vault key whose value is sent verbatim as the Authorization header.
Fetched fresh on every execute_all call — never stored in the session log.
schemas: Vec<ToolSchema>Static tool schemas served by this VPC worker.
timeout_ms: u64Per-call HTTP timeout in ms. Default: 30 000.
Auto Trait Implementations§
impl !RefUnwindSafe for RemoteVpcOptions
impl !UnwindSafe for RemoteVpcOptions
impl Freeze for RemoteVpcOptions
impl Send for RemoteVpcOptions
impl Sync for RemoteVpcOptions
impl Unpin for RemoteVpcOptions
impl UnsafeUnpin for RemoteVpcOptions
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