pub struct Agent {
pub did: String,
pub direct_message_language: Option<String>,
pub perspective: Option<Perspective>,
}
Fields§
§did: String
§direct_message_language: Option<String>
§perspective: Option<Perspective>
Trait Implementations§
Source§impl From<ByDidAgentByDid> for Agent
impl From<ByDidAgentByDid> for Agent
Source§fn from(agent: ByDidAgentByDid) -> Self
fn from(agent: ByDidAgentByDid) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Agent
impl RefUnwindSafe for Agent
impl Send for Agent
impl Sync for Agent
impl Unpin for Agent
impl UnwindSafe for Agent
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