Skip to main content

precision_cast_preserves_uniqueness

Function precision_cast_preserves_uniqueness 

Source
fn precision_cast_preserves_uniqueness(
    from: Option<TimestampPrecision>,
    to: Option<TimestampPrecision>,
) -> bool
Expand description

Reports whether a cast that rounds a timestamp from precision from to precision to maps distinct values to distinct values.