Struct DataRequest
struct DataRequest<'a> { ... }
The request type passed into all data provider implementations.
Fields
id: DataIdentifierBorrowed<'a>The data identifier for which to load data.
If locale fallback is enabled, the resulting data may be from a different identifier than the one requested here.
metadata: DataRequestMetadataMetadata that may affect the behavior of the data provider.
Implementations
impl<'a> Clone for DataRequest<'a>
fn clone(self: &Self) -> DataRequest<'a>
impl<'a> Copy for DataRequest<'a>
impl<'a> Debug for DataRequest<'a>
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl<'a> Default for DataRequest<'a>
fn default() -> DataRequest<'a>
impl<'a> Eq for DataRequest<'a>
impl<'a> Freeze for DataRequest<'a>
impl<'a> PartialEq for DataRequest<'a>
fn eq(self: &Self, other: &DataRequest<'a>) -> bool
impl<'a> RefUnwindSafe for DataRequest<'a>
impl<'a> Send for DataRequest<'a>
impl<'a> StructuralPartialEq for DataRequest<'a>
impl<'a> Sync for DataRequest<'a>
impl<'a> Unpin for DataRequest<'a>
impl<'a> UnsafeUnpin for DataRequest<'a>
impl<'a> UnwindSafe for DataRequest<'a>
impl<T> Any for DataRequest<'a>
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for DataRequest<'a>
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for DataRequest<'a>
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for DataRequest<'a>
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> ErasedDestructor for DataRequest<'a>
impl<T> From for DataRequest<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for DataRequest<'a>
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for DataRequest<'a>
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for DataRequest<'a>
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for DataRequest<'a>
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>