pub struct HostData {
Show 13 fields pub host_id: String, pub lattice_rpc_prefix: String, pub link_name: String, pub lattice_rpc_user_jwt: String, pub lattice_rpc_user_seed: String, pub lattice_rpc_url: String, pub provider_key: String, pub invocation_seed: String, pub env_values: HostEnvValues, pub instance_id: String, pub link_definitions: ActorLinks, pub cluster_issuers: ClusterIssuers, pub config_json: Option<String>,
}
Expand description

initialization data for a capability provider

Fields

host_id: Stringlattice_rpc_prefix: Stringlink_name: Stringlattice_rpc_user_jwt: Stringlattice_rpc_user_seed: Stringlattice_rpc_url: Stringprovider_key: Stringinvocation_seed: Stringenv_values: HostEnvValuesinstance_id: Stringlink_definitions: ActorLinks

initial list of links for provider

cluster_issuers: ClusterIssuers

list of cluster issuers

config_json: Option<String>

Optional configuration JSON sent to a given link name of a provider without an actor context

Implementations

returns whether the provider is running under test

Connect to nats using options provided by host

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.