Skip to main content

pack

Function pack 

Source
pub fn pack(
    elements: impl IntoIterator<Item = (impl Into<FieldName>, BoundExpression)>,
    nullability: Nullability,
) -> BoundExpression
Expand description

Creates a bound expression that packs values into a struct with named fields.