pub struct ClientAdapterSettings {
pub default_adapter: Option<String>,
pub force_adapter: Option<String>,
pub zed: Option<ZedAdapterSettings>,
}Fields§
§default_adapter: Option<String>默认客户端适配模式
force_adapter: Option<String>强制客户端适配模式(忽略自动检测)
zed: Option<ZedAdapterSettings>Zed.dev 特定配置
Trait Implementations§
Source§impl Clone for ClientAdapterSettings
impl Clone for ClientAdapterSettings
Source§fn clone(&self) -> ClientAdapterSettings
fn clone(&self) -> ClientAdapterSettings
Returns a duplicate of the value. Read more
1.0.0 · 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 ClientAdapterSettings
impl Debug for ClientAdapterSettings
Source§impl<'de> Deserialize<'de> for ClientAdapterSettings
impl<'de> Deserialize<'de> for ClientAdapterSettings
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
Auto Trait Implementations§
impl Freeze for ClientAdapterSettings
impl RefUnwindSafe for ClientAdapterSettings
impl Send for ClientAdapterSettings
impl Sync for ClientAdapterSettings
impl Unpin for ClientAdapterSettings
impl UnwindSafe for ClientAdapterSettings
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