pub struct ScanOrganicEvent {
pub scan_type: ScanOrganicEventScanType,
pub genus: Genus,
pub genus_localized: Option<String>,
pub species: Species,
pub species_localized: Option<String>,
pub variant: Option<Variant>,
pub variant_localized: Option<String>,
pub system_address: u64,
pub body: u8,
}
Fields§
§scan_type: ScanOrganicEventScanType
Possible values seem to be “Sample”, “Analyze”, “Log”. It seems that the first scan for
a bio species uses Log
, then the second scan uses Sample
The third one logs one Sample
entry and immediately followed with Analyze
. The contents seem to be the same.
genus: Genus
§genus_localized: Option<String>
§species: Species
§species_localized: Option<String>
§variant: Option<Variant>
§variant_localized: Option<String>
§system_address: u64
§body: u8
Trait Implementations§
Source§impl Clone for ScanOrganicEvent
impl Clone for ScanOrganicEvent
Source§fn clone(&self) -> ScanOrganicEvent
fn clone(&self) -> ScanOrganicEvent
Returns a copy 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 ScanOrganicEvent
impl Debug for ScanOrganicEvent
Source§impl<'de> Deserialize<'de> for ScanOrganicEvent
impl<'de> Deserialize<'de> for ScanOrganicEvent
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 From<&ScanOrganicEvent> for CurrentOrganicProgress
impl From<&ScanOrganicEvent> for CurrentOrganicProgress
Source§fn from(value: &ScanOrganicEvent) -> Self
fn from(value: &ScanOrganicEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScanOrganicEvent
impl PartialEq for ScanOrganicEvent
Source§impl Serialize for ScanOrganicEvent
impl Serialize for ScanOrganicEvent
impl Eq for ScanOrganicEvent
impl StructuralPartialEq for ScanOrganicEvent
Auto Trait Implementations§
impl Freeze for ScanOrganicEvent
impl RefUnwindSafe for ScanOrganicEvent
impl Send for ScanOrganicEvent
impl Sync for ScanOrganicEvent
impl Unpin for ScanOrganicEvent
impl UnwindSafe for ScanOrganicEvent
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