pub struct BackendDecl {
pub run: BackendRun,
pub args: Vec<String>,
pub events: Vec<String>,
}Expand description
How to start a plugin’s backend.
Fields§
§run: BackendRun§args: Vec<String>Extra arguments after the script (or the command).
events: Vec<String>Engine events it gets from the start (subscribe adds more at run time).
Trait Implementations§
Source§impl Clone for BackendDecl
impl Clone for BackendDecl
Source§impl Debug for BackendDecl
impl Debug for BackendDecl
impl Eq for BackendDecl
Source§impl PartialEq for BackendDecl
impl PartialEq for BackendDecl
Source§impl Serialize for BackendDecl
impl Serialize for BackendDecl
impl StructuralPartialEq for BackendDecl
Auto Trait Implementations§
impl Forget for BackendDecl
impl Freeze for BackendDecl
impl Move for BackendDecl
impl RefUnwindSafe for BackendDecl
impl Send for BackendDecl
impl Sync for BackendDecl
impl Unpin for BackendDecl
impl UnsafeUnpin for BackendDecl
impl UnwindSafe for BackendDecl
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.