Struct DataResponseMetadata
struct DataResponseMetadata { ... }
A response object containing metadata about the returned data.
Fields
locale: Option<DataLocale>The resolved locale of the returned data, if locale fallbacking was performed.
buffer_format: Option<BufferFormat>The format of the buffer for buffer-backed data, if known (for example, JSON).
checksum: Option<u64>An optional checksum. This can be used to ensure consistency across different markers.
Implementations
impl DataResponseMetadata
fn with_checksum(self: Self, checksum: u64) -> SelfSets the checksum.
impl Clone for DataResponseMetadata
fn clone(self: &Self) -> DataResponseMetadata
impl Debug for DataResponseMetadata
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for DataResponseMetadata
fn default() -> DataResponseMetadata
impl Freeze for DataResponseMetadata
impl PartialEq for DataResponseMetadata
fn eq(self: &Self, other: &DataResponseMetadata) -> bool
impl RefUnwindSafe for DataResponseMetadata
impl Send for DataResponseMetadata
impl StructuralPartialEq for DataResponseMetadata
impl Sync for DataResponseMetadata
impl Unpin for DataResponseMetadata
impl UnsafeUnpin for DataResponseMetadata
impl UnwindSafe for DataResponseMetadata
impl<T> Any for DataResponseMetadata
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for DataResponseMetadata
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for DataResponseMetadata
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for DataResponseMetadata
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> ErasedDestructor for DataResponseMetadata
impl<T> From for DataResponseMetadata
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for DataResponseMetadata
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for DataResponseMetadata
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 DataResponseMetadata
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for DataResponseMetadata
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>