pub struct Requester {
pub conversation: ConversationKey,
pub user: UserRef,
pub internal: bool,
pub person: Option<Person>,
pub personal: bool,
}Expand description
Who is asking, which decides what knowledge and memory is visible.
Fields§
§conversation: ConversationKeyThe conversation.
user: UserRefThe user.
internal: boolThe room may see documents marked audience: private.
person: Option<Person>The person this account belongs to, when the operator linked several accounts
([people.<id>]): they share one profile and personal memory.
personal: boolThe requester’s personal data (profile, memory, tasks, notes) is reachable: a one-to-one chat, a room the operator marked personal, or the terminal. In other group chats everyone reads the answer, so only the room’s and shared data are.
Trait Implementations§
impl Eq for Requester
impl StructuralPartialEq for Requester
Auto Trait Implementations§
impl Freeze for Requester
impl RefUnwindSafe for Requester
impl Send for Requester
impl Sync for Requester
impl Unpin for Requester
impl UnsafeUnpin for Requester
impl UnwindSafe for Requester
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