pub struct RelayTargetConfig {
pub service: Option<ServiceKind>,
pub proxy_url: String,
pub admin_url: Option<String>,
pub admin_token_env: Option<String>,
pub client_preset: Option<CodexPatchMode>,
pub responses_websocket: Option<bool>,
}Fields§
§service: Option<ServiceKind>§proxy_url: String§admin_url: Option<String>§admin_token_env: Option<String>§client_preset: Option<CodexPatchMode>§responses_websocket: Option<bool>Trait Implementations§
Source§impl Clone for RelayTargetConfig
impl Clone for RelayTargetConfig
Source§fn clone(&self) -> RelayTargetConfig
fn clone(&self) -> RelayTargetConfig
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 RelayTargetConfig
impl Debug for RelayTargetConfig
Source§impl Default for RelayTargetConfig
impl Default for RelayTargetConfig
Source§fn default() -> RelayTargetConfig
fn default() -> RelayTargetConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RelayTargetConfigwhere
RelayTargetConfig: Default,
impl<'de> Deserialize<'de> for RelayTargetConfigwhere
RelayTargetConfig: Default,
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 RelayTargetConfig
Source§impl PartialEq for RelayTargetConfig
impl PartialEq for RelayTargetConfig
Source§impl Serialize for RelayTargetConfig
impl Serialize for RelayTargetConfig
impl StructuralPartialEq for RelayTargetConfig
Auto Trait Implementations§
impl Freeze for RelayTargetConfig
impl RefUnwindSafe for RelayTargetConfig
impl Send for RelayTargetConfig
impl Sync for RelayTargetConfig
impl Unpin for RelayTargetConfig
impl UnsafeUnpin for RelayTargetConfig
impl UnwindSafe for RelayTargetConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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<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.