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