pub struct WaymarkPromotionTarget {
pub kind: String,
pub entity_type: String,
pub min_age: f32,
}Expand description
Promotion target for DreamMatter → server authority handoff.
Fields§
§kind: StringKind identifier for the promotion event.
entity_type: StringEntity type to create on promotion.
min_age: f32Minimum age before promotion (seconds).
Trait Implementations§
Source§impl Clone for WaymarkPromotionTarget
impl Clone for WaymarkPromotionTarget
Source§fn clone(&self) -> WaymarkPromotionTarget
fn clone(&self) -> WaymarkPromotionTarget
Returns a duplicate 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 WaymarkPromotionTarget
impl Debug for WaymarkPromotionTarget
Source§impl<'de> Deserialize<'de> for WaymarkPromotionTarget
impl<'de> Deserialize<'de> for WaymarkPromotionTarget
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 WaymarkPromotionTarget
impl RefUnwindSafe for WaymarkPromotionTarget
impl Send for WaymarkPromotionTarget
impl Sync for WaymarkPromotionTarget
impl Unpin for WaymarkPromotionTarget
impl UnsafeUnpin for WaymarkPromotionTarget
impl UnwindSafe for WaymarkPromotionTarget
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