Struct wasmbus_rpc::core::WasmCloudEntity [−][src]
pub struct WasmCloudEntity {
pub contract_id: CapabilityContractId,
pub link_name: String,
pub public_key: String,
}
Fields
contract_id: CapabilityContractId
link_name: String
public_key: String
Implementations
constructor for actor entity
pub fn new_provider<T1: ToString, T2: ToString>(
contract_id: T1,
link_name: T2
) -> RpcResult<WasmCloudEntity>
pub fn new_provider<T1: ToString, T2: ToString>(
contract_id: T1,
link_name: T2
) -> RpcResult<WasmCloudEntity>
constructor for capability provider entity all parameters are required
Returns the unique (public) key of the entity
returns true if this entity refers to a provider
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for WasmCloudEntity
impl Send for WasmCloudEntity
impl Sync for WasmCloudEntity
impl Unpin for WasmCloudEntity
impl UnwindSafe for WasmCloudEntity
Blanket Implementations
Mutably borrows from an owned value. Read more