pub struct OtherGuild {
pub name: String,
pub attacks: Option<String>,
pub defends_against: Option<String>,
pub rank: u16,
pub attack_cost: u32,
pub description: String,
pub emblem: Emblem,
pub honor: u32,
pub finished_raids: u16,
pub members: Vec<OtherGuildMember>,
/* private fields */
}Fields§
§name: String§attacks: Option<String>§defends_against: Option<String>§rank: u16§attack_cost: u32§description: String§emblem: Emblem§honor: u32§finished_raids: u16§members: Vec<OtherGuildMember>Trait Implementations§
Source§impl Clone for OtherGuild
impl Clone for OtherGuild
Source§fn clone(&self) -> OtherGuild
fn clone(&self) -> OtherGuild
Returns a duplicate 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 OtherGuild
impl Debug for OtherGuild
Source§impl Default for OtherGuild
impl Default for OtherGuild
Source§fn default() -> OtherGuild
fn default() -> OtherGuild
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OtherGuild
impl<'de> Deserialize<'de> for OtherGuild
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
Auto Trait Implementations§
impl Freeze for OtherGuild
impl RefUnwindSafe for OtherGuild
impl Send for OtherGuild
impl Sync for OtherGuild
impl Unpin for OtherGuild
impl UnwindSafe for OtherGuild
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