pub struct PluginOptions {
pub name: String,
pub description: String,
pub author: String,
pub version: String,
pub min_vanguard_version: Option<String>,
pub template: Option<String>,
}Expand description
Options for plugin generation
Fields§
§name: StringPlugin name (crate name)
description: StringPlugin description
Plugin author
version: StringPlugin version
min_vanguard_version: Option<String>Minimum required Vanguard version
template: Option<String>Template to use (basic or commands)
Trait Implementations§
Source§impl Clone for PluginOptions
impl Clone for PluginOptions
Source§fn clone(&self) -> PluginOptions
fn clone(&self) -> PluginOptions
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 moreAuto Trait Implementations§
impl Freeze for PluginOptions
impl RefUnwindSafe for PluginOptions
impl Send for PluginOptions
impl Sync for PluginOptions
impl Unpin for PluginOptions
impl UnwindSafe for PluginOptions
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