pub struct Person {
pub id: String,
pub accounts: Vec<(ChannelId, UserId)>,
}Expand description
Several platform accounts of one human, linked by the operator.
Fields§
§id: StringId from okbot.toml (luan): a lowercase slug.
accounts: Vec<(ChannelId, UserId)>Every linked account, as (channel, user).
Trait Implementations§
impl Eq for Person
impl StructuralPartialEq for Person
Auto Trait Implementations§
impl Freeze for Person
impl RefUnwindSafe for Person
impl Send for Person
impl Sync for Person
impl Unpin for Person
impl UnsafeUnpin for Person
impl UnwindSafe for Person
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