pub struct TechnologyBrokerEvent {
pub broker_type: TechnologyBrokerEventBrokerType,
pub market_id: u64,
pub items_unlocked: Vec<TechnologyBrokerEventUnlockedItem>,
pub commodities: Vec<TechnologyBrokerEventCommodity>,
pub materials: Vec<TechnologyBrokerEventMaterial>,
}
Fields§
§broker_type: TechnologyBrokerEventBrokerType
§market_id: u64
§items_unlocked: Vec<TechnologyBrokerEventUnlockedItem>
§commodities: Vec<TechnologyBrokerEventCommodity>
§materials: Vec<TechnologyBrokerEventMaterial>
Trait Implementations§
Source§impl Clone for TechnologyBrokerEvent
impl Clone for TechnologyBrokerEvent
Source§fn clone(&self) -> TechnologyBrokerEvent
fn clone(&self) -> TechnologyBrokerEvent
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 TechnologyBrokerEvent
impl Debug for TechnologyBrokerEvent
Source§impl<'de> Deserialize<'de> for TechnologyBrokerEvent
impl<'de> Deserialize<'de> for TechnologyBrokerEvent
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 PartialEq for TechnologyBrokerEvent
impl PartialEq for TechnologyBrokerEvent
Source§impl Serialize for TechnologyBrokerEvent
impl Serialize for TechnologyBrokerEvent
impl StructuralPartialEq for TechnologyBrokerEvent
Auto Trait Implementations§
impl Freeze for TechnologyBrokerEvent
impl RefUnwindSafe for TechnologyBrokerEvent
impl Send for TechnologyBrokerEvent
impl Sync for TechnologyBrokerEvent
impl Unpin for TechnologyBrokerEvent
impl UnwindSafe for TechnologyBrokerEvent
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