[][src]Struct dqcsim::common::types::PluginMetadata

pub struct PluginMetadata { /* fields omitted */ }

Contains information about a plugin implementation.

Implementations

impl PluginMetadata[src]

pub fn new(
    name: impl Into<String>,
    author: impl Into<String>,
    version: impl Into<String>
) -> PluginMetadata
[src]

Constructs a new plugin metadata record.

pub fn get_name(&self) -> &str[src]

Returns the name of the plugin implementation.

pub fn get_author(&self) -> &str[src]

Returns the author of the plugin.

pub fn get_version(&self) -> &str[src]

Returns the plugin version.

Trait Implementations

impl Clone for PluginMetadata[src]

impl Debug for PluginMetadata[src]

impl<'de> Deserialize<'de> for PluginMetadata[src]

impl Display for PluginMetadata[src]

impl PartialEq<PluginMetadata> for PluginMetadata[src]

impl Serialize for PluginMetadata[src]

impl StructuralPartialEq for PluginMetadata[src]

Auto Trait Implementations

impl RefUnwindSafe for PluginMetadata

impl Send for PluginMetadata

impl Sync for PluginMetadata

impl Unpin for PluginMetadata

impl UnwindSafe for PluginMetadata

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,