pub struct UpgradeComponentDetails {
pub _type: UpgradeComponentType,
pub flags: BTreeSet<UpgradeComponentFlags>,
pub infusion_upgrade_flags: BTreeSet<InfusionUpgradeFlags>,
pub suffix: String,
pub attribute_adjustment: f32,
pub infix_upgrade: InfixUpgrade,
pub bonuses: Option<Vec<String>>,
}Fields§
§_type: UpgradeComponentType§flags: BTreeSet<UpgradeComponentFlags>§infusion_upgrade_flags: BTreeSet<InfusionUpgradeFlags>§suffix: String§attribute_adjustment: f32§infix_upgrade: InfixUpgrade§bonuses: Option<Vec<String>>Trait Implementations§
Source§impl Clone for UpgradeComponentDetails
impl Clone for UpgradeComponentDetails
Source§fn clone(&self) -> UpgradeComponentDetails
fn clone(&self) -> UpgradeComponentDetails
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 UpgradeComponentDetails
impl Debug for UpgradeComponentDetails
Source§impl<'de> Deserialize<'de> for UpgradeComponentDetails
impl<'de> Deserialize<'de> for UpgradeComponentDetails
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 UpgradeComponentDetails
impl PartialEq for UpgradeComponentDetails
Source§impl PartialOrd for UpgradeComponentDetails
impl PartialOrd for UpgradeComponentDetails
Source§impl Serialize for UpgradeComponentDetails
impl Serialize for UpgradeComponentDetails
impl StructuralPartialEq for UpgradeComponentDetails
Auto Trait Implementations§
impl Freeze for UpgradeComponentDetails
impl RefUnwindSafe for UpgradeComponentDetails
impl Send for UpgradeComponentDetails
impl Sync for UpgradeComponentDetails
impl Unpin for UpgradeComponentDetails
impl UnwindSafe for UpgradeComponentDetails
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,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more