pub struct PluginDecl {
pub name: String,
pub source: PluginSource,
pub version: Option<String>,
pub enabled: bool,
pub capabilities: Option<Vec<String>>,
pub asset: Option<String>,
}Fields§
§name: String§source: PluginSource§version: Option<String>§enabled: bool§capabilities: Option<Vec<String>>§asset: Option<String>Trait Implementations§
Source§impl Clone for PluginDecl
impl Clone for PluginDecl
Source§fn clone(&self) -> PluginDecl
fn clone(&self) -> PluginDecl
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 PluginDecl
impl RefUnwindSafe for PluginDecl
impl Send for PluginDecl
impl Sync for PluginDecl
impl Unpin for PluginDecl
impl UnsafeUnpin for PluginDecl
impl UnwindSafe for PluginDecl
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