Struct wasmbus_rpc::model::Wasmbus
source · [−]pub struct Wasmbus {
pub actor_receive: bool,
pub contract_id: Option<CapabilityContractId>,
pub protocol: Option<String>,
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
protocol: Option<String>
Binary message protocol version. Defaults to “0” if unset. Be aware that changing this value can break binary compatibility unless all users of this interface recompile
provider_receive: bool
indicates this service’s operations are handled by an provider (default false)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Wasmbus
impl<'de> Deserialize<'de> for Wasmbus
sourcefn 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
impl Eq for Wasmbus
impl StructuralEq for Wasmbus
impl StructuralPartialEq for Wasmbus
Auto Trait Implementations
impl RefUnwindSafe for Wasmbus
impl Send for Wasmbus
impl Sync for Wasmbus
impl Unpin for Wasmbus
impl UnwindSafe for Wasmbus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more