pub trait TypedRow<'a, 'b>where
    'a: 'b,{
    type Table: TypedTable<'a> + 'a;

    // Required method
    fn new(inner: Row<'a>, table: &'b Self::Table) -> Self;

    // Provided method
    fn get(
        table: &'b Self::Table,
        index_key: i32,
        key: i32,
        id_col: usize
    ) -> Option<Self>
       where Self: Sized { ... }
}
Expand description

A “typed” database row

A typed row is the combination of a “raw” row from the assembly_fdb crate with the typing information given in [TypedRow::Table`].

Required Associated Types§

source

type Table: TypedTable<'a> + 'a

The table this row belongs to

Required Methods§

source

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

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

Provided Methods§

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

The index_key is the value of the first column, the key is the value of the unique ID column and the id_col must be the “real” index of that unique ID column.

Implementors§

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Table = CameraTable<'a>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Table = EmotesTable<'a>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

§

type Table = IconsTable<'a>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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