pub struct InjectionAdmin { /* private fields */ }Implementations§
Source§impl InjectionAdmin
impl InjectionAdmin
pub async fn inject_turn_input( &self, id: Option<String>, message: PluginMessage, ) -> Result<()>
pub async fn inject_turn_inputs( &self, messages: Vec<InjectedTurnInput>, ) -> Result<()>
Trait Implementations§
Source§impl Clone for InjectionAdmin
impl Clone for InjectionAdmin
Source§fn clone(&self) -> InjectionAdmin
fn clone(&self) -> InjectionAdmin
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for InjectionAdmin
impl !UnwindSafe for InjectionAdmin
impl Freeze for InjectionAdmin
impl Send for InjectionAdmin
impl Sync for InjectionAdmin
impl Unpin for InjectionAdmin
impl UnsafeUnpin for InjectionAdmin
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