#[non_exhaustive]pub struct CleEvent {Show 14 fields
pub id: i64,
pub event_type: CleEventType,
pub effective: TeaTimestamp,
pub published: TeaTimestamp,
pub version: Option<String>,
pub versions: Option<Vec<CleVersionSpecifier>>,
pub support_id: Option<String>,
pub license: Option<String>,
pub superseded_by_version: Option<String>,
pub identifiers: Option<Vec<Identifier>>,
pub event_id: Option<i64>,
pub reason: Option<String>,
pub description: Option<String>,
pub references: Option<Vec<String>>,
}Expand description
One CLE event in the TEA projection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: i64Event id.
event_type: CleEventTypeEvent type.
effective: TeaTimestampEffective time.
published: TeaTimestampPublication time.
version: Option<String>Version.
versions: Option<Vec<CleVersionSpecifier>>Version specifiers.
support_id: Option<String>Support id.
license: Option<String>License.
superseded_by_version: Option<String>Superseding version.
identifiers: Option<Vec<Identifier>>Identifiers.
event_id: Option<i64>Related event id.
reason: Option<String>Reason.
description: Option<String>Description.
references: Option<Vec<String>>References.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CleEvent
impl<'de> Deserialize<'de> for CleEvent
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
impl Eq for CleEvent
impl StructuralPartialEq for CleEvent
Auto Trait Implementations§
impl Forget for CleEvent
impl Freeze for CleEvent
impl RefUnwindSafe for CleEvent
impl Send for CleEvent
impl Sync for CleEvent
impl Unpin for CleEvent
impl UnsafeUnpin for CleEvent
impl UnwindSafe for CleEvent
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