Struct hdk::prelude::MetadataRequest[][src]

pub struct MetadataRequest {
    pub all_valid_headers: bool,
    pub all_invalid_headers: bool,
    pub all_deletes: bool,
    pub all_updates: bool,
    pub follow_redirects: bool,
    pub entry_dht_status: bool,
}

Metadata that can be requested on a basis

Fields

all_valid_headers: bool

Get all the headers on an entry. Invalid request on a header.

all_invalid_headers: bool

Placeholder

all_deletes: bool

Get all the deletes on a header

all_updates: bool

Get all the updates on an entry or header

follow_redirects: bool

Placeholder

entry_dht_status: bool

Request the status of an entry. This is faster then getting all the headers and checking for live headers.

Trait Implementations

impl Clone for MetadataRequest[src]

impl Debug for MetadataRequest[src]

impl Default for MetadataRequest[src]

impl<'de> Deserialize<'de> for MetadataRequest[src]

impl Eq for MetadataRequest[src]

impl Hash for MetadataRequest[src]

impl PartialEq<MetadataRequest> for MetadataRequest[src]

impl Serialize for MetadataRequest[src]

impl StructuralEq for MetadataRequest[src]

impl StructuralPartialEq for MetadataRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,