pub struct FactionNews {
pub id: String,
pub text: String,
pub timestamp: i32,
}
Fields§
§id: String
§text: String
§timestamp: i32
Trait Implementations§
Source§impl Clone for FactionNews
impl Clone for FactionNews
Source§fn clone(&self) -> FactionNews
fn clone(&self) -> FactionNews
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 FactionNews
impl Debug for FactionNews
Source§impl<'de> Deserialize<'de> for FactionNews
impl<'de> Deserialize<'de> for FactionNews
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 FactionNews
impl PartialEq for FactionNews
impl StructuralPartialEq for FactionNews
Auto Trait Implementations§
impl Freeze for FactionNews
impl RefUnwindSafe for FactionNews
impl Send for FactionNews
impl Sync for FactionNews
impl Unpin for FactionNews
impl UnwindSafe for FactionNews
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