pub struct GuildPortal {
pub damage_bonus: u8,
pub defeated_count: u8,
pub life_percentage: u8,
}Expand description
The portal a guild has
Fields§
§damage_bonus: u8The damage bonus in percent the guild portal gives to its members
defeated_count: u8The amount of times the portal enemy has already been defeated. You can easily convert this int oct & stage if you want
life_percentage: u8The percentage of life the portal enemy still has
Trait Implementations§
Source§impl Clone for GuildPortal
impl Clone for GuildPortal
Source§fn clone(&self) -> GuildPortal
fn clone(&self) -> GuildPortal
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 GuildPortal
impl Debug for GuildPortal
Source§impl Default for GuildPortal
impl Default for GuildPortal
Source§fn default() -> GuildPortal
fn default() -> GuildPortal
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GuildPortal
impl<'de> Deserialize<'de> for GuildPortal
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 GuildPortal
impl RefUnwindSafe for GuildPortal
impl Send for GuildPortal
impl Sync for GuildPortal
impl Unpin for GuildPortal
impl UnwindSafe for GuildPortal
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