pub struct ObjectEvent {Show 18 fields
pub event_time: DateTime<Utc>,
pub event_time_zone_offset: String,
pub record_time: Option<DateTime<Utc>>,
pub event_id: Option<String>,
pub error_declaration: Option<ErrorDeclaration>,
pub action: Action,
pub epc_list: Option<Vec<Epc>>,
pub quantity_list: Option<Vec<QuantityElement>>,
pub biz_step: Option<BizStep>,
pub disposition: Option<Disposition>,
pub read_point: Option<ReadPoint>,
pub biz_location: Option<BizLocation>,
pub biz_transaction_list: Option<Vec<BizTransaction>>,
pub source_list: Option<Vec<Source>>,
pub destination_list: Option<Vec<Destination>>,
pub sensor_element_list: Option<Vec<SensorElement>>,
pub persistent_disposition: Option<PersistentDisposition>,
pub extensions: Map<String, Value>,
}Expand description
An ObjectEvent captures an observation, addition, or deletion of specific items.
Fields§
§event_time: DateTime<Utc>Date and time when the event occurred
event_time_zone_offset: StringTimezone offset (e.g. “+01:00”)
record_time: Option<DateTime<Utc>>Record timestamp (optional, set by repository)
event_id: Option<String>Event identifier (often URN like urn:uuid)
error_declaration: Option<ErrorDeclaration>Error declaration for corrective events
action: ActionAction specifying lifecycle state change
epc_list: Option<Vec<Epc>>List of item EPCs
quantity_list: Option<Vec<QuantityElement>>List of class/quantity items
biz_step: Option<BizStep>Business step (e.g. receiving)
disposition: Option<Disposition>Item disposition (e.g. in_transit)
read_point: Option<ReadPoint>Read point identifier
biz_location: Option<BizLocation>Business location identifier
biz_transaction_list: Option<Vec<BizTransaction>>List of business transactions linked to the event
source_list: Option<Vec<Source>>List of source identifiers
destination_list: Option<Vec<Destination>>List of destination identifiers
sensor_element_list: Option<Vec<SensorElement>>List of sensor records
persistent_disposition: Option<PersistentDisposition>Persistent state changes of disposition
extensions: Map<String, Value>Extra custom JSON elements
Implementations§
Trait Implementations§
Source§impl Clone for ObjectEvent
impl Clone for ObjectEvent
Source§fn clone(&self) -> ObjectEvent
fn clone(&self) -> ObjectEvent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectEvent
impl Debug for ObjectEvent
Source§impl<'de> Deserialize<'de> for ObjectEvent
impl<'de> Deserialize<'de> for ObjectEvent
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 ObjectEvent
impl RefUnwindSafe for ObjectEvent
impl Send for ObjectEvent
impl Sync for ObjectEvent
impl Unpin for ObjectEvent
impl UnsafeUnpin for ObjectEvent
impl UnwindSafe for ObjectEvent
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