pub struct PluginConfigLinux {
pub allow_all_devices: bool,
pub capabilities: Vec<String>,
pub devices: Vec<PluginDevice>,
}
Expand description
PluginConfigLinux : PluginConfigLinux plugin config linux
Fields§
§allow_all_devices: bool
allow all devices
capabilities: Vec<String>
capabilities
devices: Vec<PluginDevice>
devices
Implementations§
Source§impl PluginConfigLinux
impl PluginConfigLinux
Sourcepub fn new(
allow_all_devices: bool,
capabilities: Vec<String>,
devices: Vec<PluginDevice>,
) -> PluginConfigLinux
pub fn new( allow_all_devices: bool, capabilities: Vec<String>, devices: Vec<PluginDevice>, ) -> PluginConfigLinux
PluginConfigLinux plugin config linux
Trait Implementations§
Source§impl Clone for PluginConfigLinux
impl Clone for PluginConfigLinux
Source§fn clone(&self) -> PluginConfigLinux
fn clone(&self) -> PluginConfigLinux
Returns a copy 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 PluginConfigLinux
impl Debug for PluginConfigLinux
Source§impl Default for PluginConfigLinux
impl Default for PluginConfigLinux
Source§fn default() -> PluginConfigLinux
fn default() -> PluginConfigLinux
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginConfigLinux
impl<'de> Deserialize<'de> for PluginConfigLinux
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
Source§impl PartialEq for PluginConfigLinux
impl PartialEq for PluginConfigLinux
Source§impl Serialize for PluginConfigLinux
impl Serialize for PluginConfigLinux
impl StructuralPartialEq for PluginConfigLinux
Auto Trait Implementations§
impl Freeze for PluginConfigLinux
impl RefUnwindSafe for PluginConfigLinux
impl Send for PluginConfigLinux
impl Sync for PluginConfigLinux
impl Unpin for PluginConfigLinux
impl UnwindSafe for PluginConfigLinux
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