pub struct ActorConfig {
pub id: Option<String>,
pub display_name: Option<String>,
}Expand description
Actor configuration — the default namespace / identity for this khive instance.
Corresponds to the [actor] TOML section. In OSS mode the runtime uses
id as the default_namespace stamped on every write operation. Cloud
deployments derive the namespace from an authenticated NamespaceToken
instead; the [actor] section is ignored there.
[actor]
id = "lambda:khive" # default namespace (required)
display_name = "Ocean's khive lambda" # human label (optional)Fields§
§id: Option<String>Namespace identifier used as the default actor for all operations.
Must be a valid Namespace string (e.g. "local", "lambda:khive").
Defaults to "local" when absent — backward-compatible with pre-actor
deployments.
display_name: Option<String>Optional human-readable label for this actor. Not used by the runtime; surfaced in introspection and log output only.
Trait Implementations§
Source§impl Clone for ActorConfig
impl Clone for ActorConfig
Source§fn clone(&self) -> ActorConfig
fn clone(&self) -> ActorConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActorConfig
impl Debug for ActorConfig
Source§impl Default for ActorConfig
impl Default for ActorConfig
Source§fn default() -> ActorConfig
fn default() -> ActorConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ActorConfig
impl<'de> Deserialize<'de> for ActorConfig
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 ActorConfig
impl RefUnwindSafe for ActorConfig
impl Send for ActorConfig
impl Sync for ActorConfig
impl Unpin for ActorConfig
impl UnsafeUnpin for ActorConfig
impl UnwindSafe for ActorConfig
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