pub struct PendingEvent {
pub pending_id: i32,
pub country: Option<Tag>,
pub province: Option<i32>,
pub options: u32,
pub hidden: bool,
pub auto_select: Date,
}Expand description
An event waiting for a country’s choice (anvil-game 1.21.0).
Fields§
§pending_id: i32The id commands’ event option takes; unique while it waits.
country: Option<Tag>The country it waits for, by the game’s rule; None for none.
province: Option<i32>The scope’s province; None for a country event.
options: u32The event’s options in its file; the window may disable some.
Hidden: the game shows no window for it.
auto_select: DateThe game chooses for the player the day after this date.
Trait Implementations§
Source§impl Clone for PendingEvent
impl Clone for PendingEvent
impl Copy for PendingEvent
Source§impl Debug for PendingEvent
impl Debug for PendingEvent
impl Eq for PendingEvent
Source§impl PartialEq for PendingEvent
impl PartialEq for PendingEvent
impl StructuralPartialEq for PendingEvent
Auto Trait Implementations§
impl Forget for PendingEvent
impl Freeze for PendingEvent
impl Move for PendingEvent
impl RefUnwindSafe for PendingEvent
impl Send for PendingEvent
impl Sync for PendingEvent
impl Unpin for PendingEvent
impl UnsafeUnpin for PendingEvent
impl UnwindSafe for PendingEvent
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