pub struct Contact {
pub name: String,
pub login: String,
pub id: String,
pub dm: bool,
}Expand description
someone you can whisper or dm: id is the twitch id (whisper) or the
heatsync user id (dm) — what the send routes want instead of a name.
Fields§
§name: String§login: Stringlowercase match key (the twitch login, or the heatsync username).
id: String§dm: boolTrait Implementations§
impl StructuralPartialEq for Contact
Auto Trait Implementations§
impl Forget for Contact
impl Freeze for Contact
impl Move for Contact
impl RefUnwindSafe for Contact
impl Send for Contact
impl Sync for Contact
impl Unpin for Contact
impl UnsafeUnpin for Contact
impl UnwindSafe for Contact
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