pub struct VassalLinkLoyalty {
pub suzerain_id: Uuid,
pub vassal_id: Uuid,
pub loyalty: i64,
pub loyalty_set_at: DateTime<Utc>,
pub cur_time: DateTime<Utc>,
}Fields§
§suzerain_id: Uuid§vassal_id: Uuid§loyalty: i64§loyalty_set_at: DateTime<Utc>§cur_time: DateTime<Utc>Trait Implementations§
Source§impl Clone for VassalLinkLoyalty
impl Clone for VassalLinkLoyalty
Source§fn clone(&self) -> VassalLinkLoyalty
fn clone(&self) -> VassalLinkLoyalty
Returns a copy 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 VassalLinkLoyalty
impl Debug for VassalLinkLoyalty
Source§impl<'de> Deserialize<'de> for VassalLinkLoyalty
impl<'de> Deserialize<'de> for VassalLinkLoyalty
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 VassalLinkLoyalty
impl PartialEq for VassalLinkLoyalty
Source§impl Serialize for VassalLinkLoyalty
impl Serialize for VassalLinkLoyalty
impl Copy for VassalLinkLoyalty
impl Eq for VassalLinkLoyalty
impl StructuralPartialEq for VassalLinkLoyalty
Auto Trait Implementations§
impl Freeze for VassalLinkLoyalty
impl RefUnwindSafe for VassalLinkLoyalty
impl Send for VassalLinkLoyalty
impl Sync for VassalLinkLoyalty
impl Unpin for VassalLinkLoyalty
impl UnwindSafe for VassalLinkLoyalty
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more