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 Forget for PortableConfig
impl Freeze for PortableConfigwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<PortableEvent, Vec<PortableGroup>> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(PortableEvent, Vec<PortableGroup>)>>: Freeze,
impl Move for PortableConfig
impl RefUnwindSafe for PortableConfig
impl Send for PortableConfigwhere
RawVecInner: Send,
NodeRef<Owned, PortableEvent, Vec<PortableGroup>, LeafOrInternal>: Send,
BoxRaw<(PortableEvent, Vec<PortableGroup>)>: Send,
impl Sync for PortableConfigwhere
RawVecInner: Sync,
NodeRef<Owned, PortableEvent, Vec<PortableGroup>, LeafOrInternal>: Sync,
BoxRaw<(PortableEvent, Vec<PortableGroup>)>: Sync,
impl Unpin for PortableConfigwhere
*const u8 is !null: Unpin,
*const LeafNode<PortableEvent, Vec<PortableGroup>> is !null: Unpin,
Box<(PortableEvent, Vec<PortableGroup>)>: Unpin,
impl UnsafeUnpin for PortableConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<PortableEvent, Vec<PortableGroup>> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(PortableEvent, Vec<PortableGroup>)>>: UnsafeUnpin,
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