pub struct AdapterConfigEntry {
pub name: String,
pub adapter_type: String,
pub compilation_target: CompilationTarget,
pub enabled: bool,
pub parameters: HashMap<String, String>,
}Expand description
适配器配置
包含适配器的配置信息
Fields§
§name: String适配器名称
adapter_type: String适配器类型 (export/import)
compilation_target: CompilationTarget编译目标
enabled: bool是否启用
parameters: HashMap<String, String>适配器参数
Trait Implementations§
Source§impl Clone for AdapterConfigEntry
impl Clone for AdapterConfigEntry
Source§fn clone(&self) -> AdapterConfigEntry
fn clone(&self) -> AdapterConfigEntry
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 AdapterConfigEntry
impl Debug for AdapterConfigEntry
Source§impl<'de> Deserialize<'de> for AdapterConfigEntry
impl<'de> Deserialize<'de> for AdapterConfigEntry
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 AdapterConfigEntry
impl RefUnwindSafe for AdapterConfigEntry
impl Send for AdapterConfigEntry
impl Sync for AdapterConfigEntry
impl Unpin for AdapterConfigEntry
impl UnwindSafe for AdapterConfigEntry
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