pub struct PluginAttributes {
pub meta: PluginMetaData,
pub mono: bool,
pub code: Cow<'static, str>,
}
Fields§
§meta: PluginMetaData
§mono: bool
§code: Cow<'static, str>
Trait Implementations§
Source§impl Clone for PluginAttributes
impl Clone for PluginAttributes
Source§fn clone(&self) -> PluginAttributes
fn clone(&self) -> PluginAttributes
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 moreSource§impl Debug for PluginAttributes
impl Debug for PluginAttributes
Source§impl Default for PluginAttributes
impl Default for PluginAttributes
Source§fn default() -> PluginAttributes
fn default() -> PluginAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginAttributes
impl<'de> Deserialize<'de> for PluginAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PluginAttributes
impl RefUnwindSafe for PluginAttributes
impl Send for PluginAttributes
impl Sync for PluginAttributes
impl Unpin for PluginAttributes
impl UnwindSafe for PluginAttributes
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