pub struct PluginMount {
pub enabled: Option<bool>,
pub name: Option<String>,
pub prefixes: Option<Vec<String>>,
}Fields§
§enabled: Option<bool>Enabled is whether this subsystem is switched on in this deployment.
name: Option<String>Name is the subsystem’s name, the same label a traced request resolves to.
prefixes: Option<Vec<String>>Prefixes are the URL prefixes this subsystem serves.
Implementations§
Source§impl PluginMount
impl PluginMount
pub fn new() -> PluginMount
Trait Implementations§
Source§impl Clone for PluginMount
impl Clone for PluginMount
Source§fn clone(&self) -> PluginMount
fn clone(&self) -> PluginMount
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginMount
impl Debug for PluginMount
Source§impl Default for PluginMount
impl Default for PluginMount
Source§fn default() -> PluginMount
fn default() -> PluginMount
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PluginMount
impl<'de> Deserialize<'de> for PluginMount
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 PluginMount
impl PartialEq for PluginMount
Source§impl Serialize for PluginMount
impl Serialize for PluginMount
impl StructuralPartialEq for PluginMount
Auto Trait Implementations§
impl Freeze for PluginMount
impl RefUnwindSafe for PluginMount
impl Send for PluginMount
impl Sync for PluginMount
impl Unpin for PluginMount
impl UnsafeUnpin for PluginMount
impl UnwindSafe for PluginMount
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