Struct wasmbus_rpc::model::Wasmbus [−][src]
pub struct Wasmbus {
pub actor_receive: bool,
pub contract_id: Option<CapabilityContractId>,
pub provider_receive: bool,
}
Expand description
a protocol defines the semantics of how a client and server communicate.
Fields
actor_receive: bool
indicates this service’s operations are handled by an actor (default false)
contract_id: Option<CapabilityContractId>
capability id such as “wasmcloud:httpserver” always required for providerReceive, but optional for actorReceive
provider_receive: bool
indicates this service’s operations are handled by an provider (default false)
Trait Implementations
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 RefUnwindSafe for Wasmbus
impl UnwindSafe for Wasmbus
Blanket Implementations
Mutably borrows from an owned value. Read more