pub struct RestClientOptions {
pub name: Option<String>,
pub version: Option<String>,
pub command: Option<String>,
pub extra_args: Vec<String>,
pub config: HashMap<String, String>,
pub call_timeout_ms: Option<u64>,
}Expand description
Optional client/session overrides for REST requests that spawn Codex.
Fields§
§name: Option<String>§version: Option<String>§command: Option<String>§extra_args: Vec<String>§config: HashMap<String, String>§call_timeout_ms: Option<u64>Trait Implementations§
Source§impl Clone for RestClientOptions
impl Clone for RestClientOptions
Source§fn clone(&self) -> RestClientOptions
fn clone(&self) -> RestClientOptions
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 RestClientOptions
impl Debug for RestClientOptions
Source§impl Default for RestClientOptions
impl Default for RestClientOptions
Source§fn default() -> RestClientOptions
fn default() -> RestClientOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RestClientOptions
impl<'de> Deserialize<'de> for RestClientOptions
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 RestClientOptions
impl PartialEq for RestClientOptions
Source§fn eq(&self, other: &RestClientOptions) -> bool
fn eq(&self, other: &RestClientOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RestClientOptions
impl Serialize for RestClientOptions
impl Eq for RestClientOptions
impl StructuralPartialEq for RestClientOptions
Auto Trait Implementations§
impl Freeze for RestClientOptions
impl RefUnwindSafe for RestClientOptions
impl Send for RestClientOptions
impl Sync for RestClientOptions
impl Unpin for RestClientOptions
impl UnsafeUnpin for RestClientOptions
impl UnwindSafe for RestClientOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.