pub struct TaskActorV1 {
pub kind: TaskActorKind,
pub label: String,
pub agent: Option<String>,
pub owner: Option<String>,
pub model: Option<String>,
pub mine: bool,
pub profile_id: Option<String>,
}Expand description
An actor as an engine sees it: never a user id or an email.
Fields§
§kind: TaskActorKind§label: StringA person’s display name, or an instance label.
agent: Option<String>The agent on that instance (bus agent id), for instances.
owner: Option<String>The person who owns that instance (display name), for instances.
model: Option<String>The model the agent reported for itself; unverified.
mine: boolWhether this is the instance asking.
profile_id: Option<String>1.9 (section 5): the agent’s profile, for instances.
Trait Implementations§
Source§impl Clone for TaskActorV1
impl Clone for TaskActorV1
Source§impl Debug for TaskActorV1
impl Debug for TaskActorV1
Source§impl<'de> Deserialize<'de> for TaskActorV1
impl<'de> Deserialize<'de> for TaskActorV1
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
impl Eq for TaskActorV1
Source§impl PartialEq for TaskActorV1
impl PartialEq for TaskActorV1
Source§impl Serialize for TaskActorV1
impl Serialize for TaskActorV1
impl StructuralPartialEq for TaskActorV1
Auto Trait Implementations§
impl Forget for TaskActorV1
impl Freeze for TaskActorV1
impl Move for TaskActorV1
impl RefUnwindSafe for TaskActorV1
impl Send for TaskActorV1
impl Sync for TaskActorV1
impl Unpin for TaskActorV1
impl UnsafeUnpin for TaskActorV1
impl UnwindSafe for TaskActorV1
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