pub struct FactionPact {
pub faction_id: FactionId,
pub faction_name: String,
pub until: String,
}
Fields§
§faction_id: FactionId
§faction_name: String
§until: String
The duration until when is the non-aggression pact valid.
Trait Implementations§
Source§impl Clone for FactionPact
impl Clone for FactionPact
Source§fn clone(&self) -> FactionPact
fn clone(&self) -> FactionPact
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for FactionPact
impl Debug for FactionPact
Source§impl<'de> Deserialize<'de> for FactionPact
impl<'de> Deserialize<'de> for FactionPact
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 FactionPact
impl PartialEq for FactionPact
impl StructuralPartialEq for FactionPact
Auto Trait Implementations§
impl Freeze for FactionPact
impl RefUnwindSafe for FactionPact
impl Send for FactionPact
impl Sync for FactionPact
impl Unpin for FactionPact
impl UnwindSafe for FactionPact
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