pub struct MispObject {
pub id: String,
pub uuid: String,
pub name: String,
pub description: Option<String>,
pub template_uuid: Option<String>,
pub template_version: Option<String>,
pub event_id: String,
pub distribution: Distribution,
pub attributes: Vec<Attribute>,
pub references: Vec<ObjectReference>,
}Fields§
§id: String§uuid: String§name: String§description: Option<String>§template_uuid: Option<String>§template_version: Option<String>§event_id: String§distribution: Distribution§attributes: Vec<Attribute>§references: Vec<ObjectReference>Trait Implementations§
Source§impl Clone for MispObject
impl Clone for MispObject
Source§fn clone(&self) -> MispObject
fn clone(&self) -> MispObject
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 MispObject
impl Debug for MispObject
Source§impl<'de> Deserialize<'de> for MispObject
impl<'de> Deserialize<'de> for MispObject
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 MispObject
impl RefUnwindSafe for MispObject
impl Send for MispObject
impl Sync for MispObject
impl Unpin for MispObject
impl UnwindSafe for MispObject
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