Struct icu_provider::prelude::DataResponse [−][src]
pub struct DataResponse<'d, T: ?Sized> where
T: ToOwned,
<T as ToOwned>::Owned: Debug, { pub metadata: DataResponseMetadata, pub payload: DataPayload<'d, T>, }
A response object containing an object as payload and metadata about it.
Fields
metadata: DataResponseMetadata
Metadata about the returned object.
payload: DataPayload<'d, T>
The object itself; None if it was not loaded.
Trait Implementations
impl<'d, T: Clone + ?Sized> Clone for DataResponse<'d, T> where
T: ToOwned,
<T as ToOwned>::Owned: Debug,
[src]
impl<'d, T: Clone + ?Sized> Clone for DataResponse<'d, T> where
T: ToOwned,
<T as ToOwned>::Owned: Debug,
[src]fn clone(&self) -> DataResponse<'d, T>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<'d, T: ?Sized> RefUnwindSafe for DataResponse<'d, T> where
T: RefUnwindSafe,
<T as ToOwned>::Owned: RefUnwindSafe,
impl<'d, T: ?Sized> RefUnwindSafe for DataResponse<'d, T> where
T: RefUnwindSafe,
<T as ToOwned>::Owned: RefUnwindSafe,
impl<'d, T: ?Sized> UnwindSafe for DataResponse<'d, T> where
T: RefUnwindSafe,
<T as ToOwned>::Owned: UnwindSafe,
impl<'d, T: ?Sized> UnwindSafe for DataResponse<'d, T> where
T: RefUnwindSafe,
<T as ToOwned>::Owned: UnwindSafe,