pub struct IntegrationManager { /* private fields */ }
Expand description
統合マネージャー
Implementations§
Source§impl IntegrationManager
impl IntegrationManager
pub fn new() -> Self
Sourcepub fn register_integration(
&mut self,
name: &str,
integration: Box<dyn Integration>,
)
pub fn register_integration( &mut self, name: &str, integration: Box<dyn Integration>, )
統合を登録
Sourcepub fn get_integration(&self, name: &str) -> Option<&Box<dyn Integration>>
pub fn get_integration(&self, name: &str) -> Option<&Box<dyn Integration>>
統合を取得
Sourcepub async fn execute_integration(
&self,
name: &str,
operation: &str,
params: HashMap<String, Value>,
) -> Result<Value, IntegrationError>
pub async fn execute_integration( &self, name: &str, operation: &str, params: HashMap<String, Value>, ) -> Result<Value, IntegrationError>
統合を実行
Auto Trait Implementations§
impl Freeze for IntegrationManager
impl !RefUnwindSafe for IntegrationManager
impl Send for IntegrationManager
impl Sync for IntegrationManager
impl Unpin for IntegrationManager
impl !UnwindSafe for IntegrationManager
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