[][src]Struct holochain_wasm_utils::api_serialization::get_entry::GetEntryOptions

pub struct GetEntryOptions {
    pub status_request: StatusRequestKind,
    pub entry: bool,
    pub headers: bool,
    pub timeout: Timeout,
}

Structure used to specify what should be returned to a call to get_entry_result() The default is to return the latest entry.

Fields

status_request: StatusRequestKindentry: boolheaders: booltimeout: Timeout

Methods

impl GetEntryOptions[src]

pub fn new(
    status_request: StatusRequestKind,
    entry: bool,
    headers: bool,
    timeout: Timeout
) -> Self
[src]

Trait Implementations

impl PartialEq<GetEntryOptions> for GetEntryOptions[src]

impl Default for GetEntryOptions[src]

impl<'a> From<&'a GetEntryOptions> for JsonString[src]

impl From<GetEntryOptions> for JsonString[src]

impl Clone for GetEntryOptions[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for GetEntryOptions[src]

impl<'a> TryFrom<&'a JsonString> for GetEntryOptions[src]

type Error = HolochainError

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl TryFrom<JsonString> for GetEntryOptions[src]

type Error = HolochainError

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl Serialize for GetEntryOptions[src]

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

Auto Trait Implementations

impl Send for GetEntryOptions

impl Sync for GetEntryOptions

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

impl<T> Same for T

type Output = T

Should always be Self