pub struct AppServerRequest {
pub listen: Option<String>,
pub ws_audience: Option<String>,
pub ws_auth: Option<String>,
pub ws_issuer: Option<String>,
pub ws_max_clock_skew_seconds: Option<u64>,
pub ws_shared_secret_file: Option<PathBuf>,
pub ws_token_file: Option<PathBuf>,
pub ws_token_sha256: Option<String>,
pub working_dir: Option<PathBuf>,
pub overrides: CliOverridesPatch,
}Expand description
Request for codex app-server.
Fields§
§listen: Option<String>Optional address passed via --listen.
ws_audience: Option<String>Optional websocket audience passed via --ws-audience.
ws_auth: Option<String>Optional websocket auth mode passed via --ws-auth.
ws_issuer: Option<String>Optional websocket issuer passed via --ws-issuer.
ws_max_clock_skew_seconds: Option<u64>Optional max clock skew seconds passed via --ws-max-clock-skew-seconds.
Optional shared secret file passed via --ws-shared-secret-file.
ws_token_file: Option<PathBuf>Optional token file passed via --ws-token-file.
ws_token_sha256: Option<String>Optional token SHA-256 fingerprint passed via --ws-token-sha256.
working_dir: Option<PathBuf>Optional working directory override for the spawned process.
overrides: CliOverridesPatchPer-call CLI overrides layered on top of the builder.
Implementations§
Source§impl AppServerRequest
impl AppServerRequest
pub fn listen(self, listen: impl Into<String>) -> Self
pub fn ws_audience(self, value: impl Into<String>) -> Self
pub fn ws_auth(self, value: impl Into<String>) -> Self
pub fn ws_issuer(self, value: impl Into<String>) -> Self
pub fn ws_max_clock_skew_seconds(self, value: u64) -> Self
pub fn ws_token_file(self, path: impl Into<PathBuf>) -> Self
pub fn ws_token_sha256(self, value: impl Into<String>) -> Self
pub fn working_dir(self, dir: impl Into<PathBuf>) -> Self
pub fn with_overrides(self, overrides: CliOverridesPatch) -> Self
pub fn config_override( self, key: impl Into<String>, value: impl Into<String>, ) -> Self
pub fn config_override_raw(self, raw: impl Into<String>) -> Self
pub fn profile(self, profile: impl Into<String>) -> Self
pub fn oss(self, enable: bool) -> Self
pub fn enable_feature(self, name: impl Into<String>) -> Self
pub fn disable_feature(self, name: impl Into<String>) -> Self
pub fn search(self, enable: bool) -> Self
Trait Implementations§
Source§impl Clone for AppServerRequest
impl Clone for AppServerRequest
Source§fn clone(&self) -> AppServerRequest
fn clone(&self) -> AppServerRequest
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 AppServerRequest
impl Debug for AppServerRequest
Source§impl Default for AppServerRequest
impl Default for AppServerRequest
Source§impl PartialEq for AppServerRequest
impl PartialEq for AppServerRequest
Source§fn eq(&self, other: &AppServerRequest) -> bool
fn eq(&self, other: &AppServerRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for AppServerRequest
impl StructuralPartialEq for AppServerRequest
Auto Trait Implementations§
impl Freeze for AppServerRequest
impl RefUnwindSafe for AppServerRequest
impl Send for AppServerRequest
impl Sync for AppServerRequest
impl Unpin for AppServerRequest
impl UnsafeUnpin for AppServerRequest
impl UnwindSafe for AppServerRequest
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,
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.