You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: time_primitive_date_time.rs
    path of file: ./repos/async-graphql/src/types/external
    
    the code of the file until where you have to start completion: use time::{format_description::FormatItem, macros::format_description, PrimitiveDateTime};

use crate::{InputValueError, InputValueResult, Scalar, ScalarType, Value};

const PRIMITIVE_DATE_TIME_FORMAT: &[FormatItem<'_>] =
    format_description!("[year]-[month]-[day]T[hour]
    
    fn test_primitive_date_time_parse() {
        let cases = [
            (
                "2022-01-12T07:30:19.12345",
                datetime!(2022-01-12 07:30:19.12345),
            ),
            ("2022-01-12T07:30:19.0", datetime!(2022-01-12 07:30:19)),
        ];
        for (value, expected) in cases {
            let value = Value::String(value.to_string());
            let parsed = <PrimitiveDateTime as ScalarType>::parse(value).unwrap();
            assert_eq!(parsed, expected);
        }
    }