[][src]Struct holochain_conductor_api::ZomeCall

pub struct ZomeCall {
    pub cell_id: CellId,
    pub zome_name: ZomeName,
    pub fn_name: FunctionName,
    pub payload: ExternIO,
    pub cap: Option<CapSecret>,
    pub provenance: AgentPubKey,
}

The data provided across an App interface in order to make a zome call

Fields

cell_id: CellId

The Id of the Cell containing the Zome to be called

zome_name: ZomeName

The Zome containing the function to be called

fn_name: FunctionName

The name of the Zome function to call

payload: ExternIO

The serialized data to pass as an argument to the Zome call

cap: Option<CapSecret>

The capability request authorization. This can be None and still succeed in the case where the function in the zome being called has been given an Unrestricted status via a CapGrant. Otherwise, it will be necessary to provide a CapSecret for every call.

provenance: AgentPubKey

The provenance (source) of the call.

NB: This will go away as soon as Holochain has a way of determining who is making this ZomeCall over this interface. Until we do, the caller simply provides this data and Holochain trusts them.

Trait Implementations

impl Clone for ZomeCall[src]

impl Debug for ZomeCall[src]

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

impl Serialize for ZomeCall[src]

Auto Trait Implementations

impl RefUnwindSafe for ZomeCall

impl Send for ZomeCall

impl Sync for ZomeCall

impl Unpin for ZomeCall

impl UnwindSafe for ZomeCall

Blanket Implementations

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

impl<T> Any for T where
    T: Any + ?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<T> From<T> for T[src]

impl<T> FutureExt for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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>, 
[src]

impl<T> WithSubscriber for T[src]