pub type ColumnCommitmentMetadataMap = IndexMap<Ident, ColumnCommitmentMetadata, BuildHasherDefault<AHasher>>;
Expand description
Mapping of column idents to column metadata used to associate metadata with commitments.
Aliased Type§
pub struct ColumnCommitmentMetadataMap { /* private fields */ }
Trait Implementations§
Source§impl ColumnCommitmentMetadataMapExt for ColumnCommitmentMetadataMap
impl ColumnCommitmentMetadataMapExt for ColumnCommitmentMetadataMap
Source§fn from_column_fields_with_max_bounds(columns: &[ColumnField]) -> Self
fn from_column_fields_with_max_bounds(columns: &[ColumnField]) -> Self
Construct this mapping from a slice of column fields, with the bounds of each column set to
the widest possible bounds for the column type.
Source§fn from_columns<'a>(
columns: impl IntoIterator<Item = (&'a Ident, &'a CommittableColumn<'a>)>,
) -> Selfwhere
Self: Sized,
fn from_columns<'a>(
columns: impl IntoIterator<Item = (&'a Ident, &'a CommittableColumn<'a>)>,
) -> Selfwhere
Self: Sized,
Construct this mapping from an iterator of column ident and columns.
Source§fn try_union(self, other: Self) -> Result<Self, ColumnCommitmentsMismatch>where
Self: Sized,
fn try_union(self, other: Self) -> Result<Self, ColumnCommitmentsMismatch>where
Self: Sized,
Combine two metadata maps as if the source table commitments are being unioned.
Source§fn try_difference(self, other: Self) -> Result<Self, ColumnCommitmentsMismatch>where
Self: Sized,
fn try_difference(self, other: Self) -> Result<Self, ColumnCommitmentsMismatch>where
Self: Sized,
Combine two metadata maps as if the source table commitments are being differenced.