pub struct ExecReq {
pub method: String,
pub args: Vec<String>,
}Expand description
Request for executing a method
Fields§
§method: StringMethod being executed in. a base58 multihash of IPFS object
args: Vec<String>Arguments passed to method. base58 hashes of IPFS objects
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ExecReq
impl<'de> Deserialize<'de> for ExecReq
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 ExecReq
impl RefUnwindSafe for ExecReq
impl Send for ExecReq
impl Sync for ExecReq
impl Unpin for ExecReq
impl UnwindSafe for ExecReq
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