pub struct PortableConfig {
pub description: Option<String>,
pub hooks: BTreeMap<PortableEvent, Vec<PortableGroup>>,
}Fields§
§description: Option<String>§hooks: BTreeMap<PortableEvent, Vec<PortableGroup>>Implementations§
Source§impl PortableConfig
impl PortableConfig
pub fn parse(bytes: &[u8]) -> PluginResult<Self>
Trait Implementations§
Source§impl Clone for PortableConfig
impl Clone for PortableConfig
Source§impl Debug for PortableConfig
impl Debug for PortableConfig
Source§impl<'de> Deserialize<'de> for PortableConfig
impl<'de> Deserialize<'de> for PortableConfig
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 PortableConfig
impl RefUnwindSafe for PortableConfig
impl Send for PortableConfig
impl Sync for PortableConfig
impl Unpin for PortableConfig
impl UnsafeUnpin for PortableConfig
impl UnwindSafe for PortableConfig
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