// This file is part of ICU4X. For terms of use, please see the file // called LICENSE at the top level of the ICU4X source tree // (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ). #[diplomat::bridge] #[diplomat::abi_rename = "icu4x_{0}_mv1"] pub mod ffi { use alloc::boxed::Box; use icu_calendar::Iso; use crate::unstable::calendar::ffi::Calendar; use crate::unstable::date::ffi::{Date, IsoDate}; use crate::unstable::errors::ffi::Rfc9557ParseError; use crate::unstable::iana_parser::ffi::IanaParser; use crate::unstable::time::ffi::Time; use crate::unstable::timezone::ffi::TimeZoneInfo; use crate::unstable::variant_offset::ffi::UtcOffset; /// An ICU4X ZonedDateTime object capable of containing a ISO-8601 date, time, and zone. #[diplomat::rust_link(icu::time::ZonedDateTime, Struct)] #[diplomat::out] pub struct ZonedIsoDateTime { pub date: Box, pub time: Box