Skip to main content

CopyInsert

Trait CopyInsert 

Source
pub trait CopyInsert {
    const COLUMNS: &'static [&'static str];

    // Required method
    fn copy_row(&self, w: &mut CopyRow, patch: &str);
}
Expand description

A row type that can stream itself into a Postgres COPY ... FROM STDIN text sink.

Required Associated Constants§

Source

const COLUMNS: &'static [&'static str]

Column names in bind order (includes the injected patch_version).

Required Methods§

Source

fn copy_row(&self, w: &mut CopyRow, patch: &str)

Push every column value onto w in COLUMNS order. patch fills the injected patch_version column.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl CopyInsert for ArmorLocationFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ArmorMitigationByLvlFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for BaseMpFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for BaseProfessionRatingsFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ChallengeModeDamageFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ChallengeModeHealthFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ChallengeModeItemBonusOverride

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ClassDataFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CombatRatingsFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CombatRatingsMultByIlvlFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ContentTuningFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ContentTuningXDifficultyFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ContentTuningXExpectedFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CooldownSetFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CraftedProductFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CreatureDifficultyFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CreatureFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for Currency

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CurrencyCategory

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CurveFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for CurvePointFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for DelvesSeason

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for Difficulty

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for EnchantmentFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ExpansionTraitTreeFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ExpectedStatFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ExpectedStatModFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for GemPropertiesFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for GlobalColorFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for GlobalStringFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for HpPerStaFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemArmorQualityFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemArmorShieldFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemArmorTotalFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemBonusFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemBonusListGroup

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemBonusSequenceSpell

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemConversionFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemDamageScalingFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemDataFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemDropScalingFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemGroupIlvlScalingEntry

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemLevelSelector

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemLevelSelectorQuality

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemLevelSelectorQualitySet

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemOffsetCurveFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemScalingConfigFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemSocketCostPerLevelFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ItemSquishEraFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for JournalInstanceFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for JournalTierFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for NpcDamageByClassFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for NpcTotalHpFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for PermanentEnchantFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for PowerTypeFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for Profession

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for ProfessionRatingsFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for PvpSeasonFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for PvpTier

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for RacialSpellFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for RandPropPointsFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for SpecializationSpellFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for SpellDataFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for SpellScalingFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for StaminaMultByIlvlFlat

Source§

const COLUMNS: &'static [&'static str]

Source§

impl CopyInsert for TraitTreeFlat

Source§

const COLUMNS: &'static [&'static str]