pub struct Relation {
pub first: Option<Tag>,
pub second: Option<Tag>,
pub start: Option<Date>,
pub end: Option<Date>,
}Expand description
A relation, as the game’s save writes it (World::country_relations).
Fields§
§first: Option<Tag>The guarantor, the one with access, the payer, the overlord, the one who warns.
second: Option<Tag>The other one.
start: Option<Date>When it began; None when the game keeps no date.
end: Option<Date>When it ends; None for most, which have no end date.
Trait Implementations§
impl Copy for Relation
impl Eq for Relation
impl StructuralPartialEq for Relation
Auto Trait Implementations§
impl Forget for Relation
impl Freeze for Relation
impl Move for Relation
impl RefUnwindSafe for Relation
impl Send for Relation
impl Sync for Relation
impl Unpin for Relation
impl UnsafeUnpin for Relation
impl UnwindSafe for Relation
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