pub struct DispatchInput {
pub zome: String,
pub fn_name: String,
pub payload: Vec<u8>,
}Expand description
Input for dispatching a call to any domain zome within a cluster DNA.
Fields§
§zome: StringTarget zome name (e.g., “property_registry”, “justice_cases”). Must be in the cluster’s allowed zomes list.
fn_name: StringTarget function name (e.g., “verify_ownership”, “get_property”).
payload: Vec<u8>MessagePack-serialized input payload. Use () serialized for no-arg functions.
Trait Implementations§
Source§impl Clone for DispatchInput
impl Clone for DispatchInput
Source§fn clone(&self) -> DispatchInput
fn clone(&self) -> DispatchInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DispatchInput
impl Debug for DispatchInput
Source§impl<'de> Deserialize<'de> for DispatchInput
impl<'de> Deserialize<'de> for DispatchInput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DispatchInput
impl RefUnwindSafe for DispatchInput
impl Send for DispatchInput
impl Sync for DispatchInput
impl Unpin for DispatchInput
impl UnsafeUnpin for DispatchInput
impl UnwindSafe for DispatchInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more