pub struct Attribute {Show 16 fields
pub id: String,
pub uuid: String,
pub event_id: String,
pub category: String,
pub attr_type: String,
pub value: String,
pub to_ids: bool,
pub distribution: Distribution,
pub comment: Option<String>,
pub timestamp: Option<String>,
pub tags: Vec<Tag>,
pub galaxies: Vec<Galaxy>,
pub sightings: Vec<Sighting>,
pub first_seen: Option<String>,
pub last_seen: Option<String>,
pub deleted: Option<bool>,
}Fields§
§id: String§uuid: String§event_id: String§category: String§attr_type: String§value: String§to_ids: bool§distribution: Distribution§comment: Option<String>§timestamp: Option<String>§galaxies: Vec<Galaxy>§sightings: Vec<Sighting>§first_seen: Option<String>§last_seen: Option<String>§deleted: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attribute
impl<'de> Deserialize<'de> for Attribute
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 Attribute
impl RefUnwindSafe for Attribute
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
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