pub struct ItemComponentRow<'a, 'b> { /* private fields */ }
Expand description

Implementations§

source§

impl<'a, 'b> ItemComponentRow<'a, 'b>

source

pub fn id(&self) -> i32

Get the data in column id

source

pub fn equip_location(&self) -> Option<&'a Latin1Str>

Get the data in column equipLocation

source

pub fn base_value(&self) -> Option<i32>

Get the data in column baseValue

source

pub fn is_kit_piece(&self) -> bool

Get the data in column isKitPiece

source

pub fn rarity(&self) -> Option<i32>

Get the data in column rarity

source

pub fn item_type(&self) -> i32

Get the data in column itemType

source

pub fn item_info(&self) -> Option<i64>

Get the data in column itemInfo

source

pub fn in_loot_table(&self) -> bool

Get the data in column inLootTable

source

pub fn in_vendor(&self) -> bool

Get the data in column inVendor

source

pub fn is_unique(&self) -> bool

Get the data in column isUnique

source

pub fn is_bop(&self) -> bool

Get the data in column isBOP

source

pub fn is_boe(&self) -> bool

Get the data in column isBOE

source

pub fn req_flag_id(&self) -> Option<i32>

Get the data in column reqFlagID

source

pub fn req_specialty_id(&self) -> Option<i32>

Get the data in column reqSpecialtyID

source

pub fn req_spec_rank(&self) -> Option<i32>

Get the data in column reqSpecRank

source

pub fn req_achievement_id(&self) -> Option<i32>

Get the data in column reqAchievementID

source

pub fn stack_size(&self) -> Option<i32>

Get the data in column stackSize

source

pub fn color1(&self) -> Option<i32>

Get the data in column color1

source

pub fn decal(&self) -> Option<i32>

Get the data in column decal

source

pub fn offset_group_id(&self) -> Option<i32>

Get the data in column offsetGroupID

source

pub fn build_types(&self) -> Option<i32>

Get the data in column buildTypes

source

pub fn req_precondition(&self) -> Option<&'a Latin1Str>

Get the data in column reqPrecondition

source

pub fn animation_flag(&self) -> Option<i32>

Get the data in column animationFlag

source

pub fn equip_effects(&self) -> Option<i32>

Get the data in column equipEffects

source

pub fn ready_for_qa(&self) -> bool

Get the data in column readyForQA

source

pub fn item_rating(&self) -> Option<i32>

Get the data in column itemRating

source

pub fn is_two_handed(&self) -> bool

Get the data in column isTwoHanded

source

pub fn min_num_required(&self) -> Option<i32>

Get the data in column minNumRequired

source

pub fn del_res_index(&self) -> Option<i32>

Get the data in column delResIndex

source

pub fn currency_lot(&self) -> Option<i32>

Get the data in column currencyLOT

source

pub fn alt_currency_cost(&self) -> Option<i32>

Get the data in column altCurrencyCost

source

pub fn sub_items(&self) -> Option<&'a Latin1Str>

Get the data in column subItems

source

pub fn audio_event_use(&self) -> Option<&'a Latin1Str>

Get the data in column audioEventUse

source

pub fn no_equip_animation(&self) -> bool

Get the data in column noEquipAnimation

source

pub fn commendation_lot(&self) -> Option<i32>

Get the data in column commendationLOT

source

pub fn commendation_cost(&self) -> Option<i32>

Get the data in column commendationCost

source

pub fn audio_equip_meta_event_set(&self) -> Option<&'a Latin1Str>

Get the data in column audioEquipMetaEventSet

source

pub fn currency_costs(&self) -> Option<&'a Latin1Str>

Get the data in column currencyCosts

source

pub fn ingredient_info(&self) -> Option<&'a Latin1Str>

Get the data in column ingredientInfo

source

pub fn loc_status(&self) -> Option<i32>

Get the data in column locStatus

source

pub fn forge_type(&self) -> Option<i32>

Get the data in column forgeType

source

pub fn sell_multiplier(&self) -> Option<f32>

Get the data in column SellMultiplier

Trait Implementations§

source§

impl<'a, 'b> Clone for ItemComponentRow<'a, 'b>

source§

fn clone(&self) -> ItemComponentRow<'a, 'b>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<'a, 'b> Serialize for ItemComponentRow<'a, 'b>

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more
source§

impl<'a, 'b> TypedRow<'a, 'b> for ItemComponentRow<'a, 'b>

§

type Table = ItemComponentTable<'a>

The table this row belongs to
source§

fn new(row: Row<'a>, table: &'b Self::Table) -> Self

Creates a new “typed” row from a “typed” table and a “raw” row
source§

fn get( table: &'b Self::Table, index_key: i32, key: i32, id_col: usize ) -> Option<Self>where Self: Sized,

Get a specific entry from the row by unique ID Read more
source§

impl<'a, 'b> Copy for ItemComponentRow<'a, 'b>

Auto Trait Implementations§

§

impl<'a, 'b> RefUnwindSafe for ItemComponentRow<'a, 'b>

§

impl<'a, 'b> Send for ItemComponentRow<'a, 'b>

§

impl<'a, 'b> Sync for ItemComponentRow<'a, 'b>

§

impl<'a, 'b> Unpin for ItemComponentRow<'a, 'b>where 'a: 'b,

§

impl<'a, 'b> UnwindSafe for ItemComponentRow<'a, 'b>

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.