pub struct ActorDef {
pub roles: Vec<String>,
pub kind: ActorKind,
pub email: Option<String>,
pub display_name: Option<String>,
pub runtime: Option<String>,
}Fields§
§roles: Vec<String>§kind: ActorKindActor kind: “user” or “agent”. Defaults to User for v1 compat.
email: Option<String>§display_name: Option<String>§runtime: Option<String>For agent actors: runtime platform (e.g. “claude”, “opencode”).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ActorDef
impl<'de> Deserialize<'de> for ActorDef
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 ActorDef
impl RefUnwindSafe for ActorDef
impl Send for ActorDef
impl Sync for ActorDef
impl Unpin for ActorDef
impl UnsafeUnpin for ActorDef
impl UnwindSafe for ActorDef
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