pub struct MispModule {
pub name: Option<String>,
pub type: Option<String>,
pub mispattributes: Option<Box<MispModuleMispattributes>>,
pub meta: Option<Box<MispModuleMeta>>,
}Expand description
MispModule : Structure of a MISP module as returned by Cortex.
Fields§
§name: Option<String>§type: Option<String>§mispattributes: Option<Box<MispModuleMispattributes>>§meta: Option<Box<MispModuleMeta>>Implementations§
Source§impl MispModule
impl MispModule
Sourcepub fn new() -> MispModule
pub fn new() -> MispModule
Structure of a MISP module as returned by Cortex.
Trait Implementations§
Source§impl Clone for MispModule
impl Clone for MispModule
Source§fn clone(&self) -> MispModule
fn clone(&self) -> MispModule
Returns a duplicate 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 MispModule
impl Debug for MispModule
Source§impl Default for MispModule
impl Default for MispModule
Source§fn default() -> MispModule
fn default() -> MispModule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MispModule
impl<'de> Deserialize<'de> for MispModule
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 MispModule
impl PartialEq for MispModule
Source§impl Serialize for MispModule
impl Serialize for MispModule
impl StructuralPartialEq for MispModule
Auto Trait Implementations§
impl Freeze for MispModule
impl RefUnwindSafe for MispModule
impl Send for MispModule
impl Sync for MispModule
impl Unpin for MispModule
impl UnwindSafe for MispModule
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