Struct eu4save::models::DiplomacyRelationship
source · [−]pub struct DiplomacyRelationship {
pub first: CountryTag,
pub second: CountryTag,
pub start_date: Option<Eu4Date>,
pub end_date: Option<Eu4Date>,
pub is_enforced: bool,
}
Fields
first: CountryTag
second: CountryTag
start_date: Option<Eu4Date>
end_date: Option<Eu4Date>
is_enforced: bool
Trait Implementations
sourceimpl Clone for DiplomacyRelationship
impl Clone for DiplomacyRelationship
sourcefn clone(&self) -> DiplomacyRelationship
fn clone(&self) -> DiplomacyRelationship
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DiplomacyRelationship
impl Debug for DiplomacyRelationship
sourceimpl<'de> Deserialize<'de> for DiplomacyRelationship
impl<'de> Deserialize<'de> for DiplomacyRelationship
sourcefn 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
sourceimpl Serialize for DiplomacyRelationship
impl Serialize for DiplomacyRelationship
Auto Trait Implementations
impl RefUnwindSafe for DiplomacyRelationship
impl Send for DiplomacyRelationship
impl Sync for DiplomacyRelationship
impl Unpin for DiplomacyRelationship
impl UnwindSafe for DiplomacyRelationship
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more