pub struct FactionSearch {
pub id: FactionId,
pub name: String,
pub respect: i32,
pub members: i32,
pub leader: FactionSearchLeader,
pub co_leader: Option<FactionSearchLeader>,
pub image: Option<String>,
pub tag_image: Option<String>,
pub tag: Option<String>,
pub is_destroyed: bool,
pub is_recruiting: bool,
}
Fields§
§id: FactionId
§name: String
§respect: i32
§members: i32
§leader: FactionSearchLeader
§co_leader: Option<FactionSearchLeader>
§image: Option<String>
§tag_image: Option<String>
§tag: Option<String>
§is_destroyed: bool
§is_recruiting: bool
Trait Implementations§
Source§impl Clone for FactionSearch
impl Clone for FactionSearch
Source§fn clone(&self) -> FactionSearch
fn clone(&self) -> FactionSearch
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 FactionSearch
impl Debug for FactionSearch
Source§impl<'de> Deserialize<'de> for FactionSearch
impl<'de> Deserialize<'de> for FactionSearch
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 FactionSearch
impl PartialEq for FactionSearch
impl StructuralPartialEq for FactionSearch
Auto Trait Implementations§
impl Freeze for FactionSearch
impl RefUnwindSafe for FactionSearch
impl Send for FactionSearch
impl Sync for FactionSearch
impl Unpin for FactionSearch
impl UnwindSafe for FactionSearch
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