pub struct EventArgs<'a> {
pub room_data: RoomTypeData,
pub starting: bool,
pub ctrlc_handler: &'a CtrlCHandler,
pub cleanup_on_ctrlc: bool,
pub owner: UserId,
pub prefix: String,
pub me: UserId,
pub tx: Sender<String>,
pub room_to_aliases: BTreeMap<RoomId, Vec<RoomAliasId>>,
}
Fields§
§room_data: RoomTypeData
§starting: bool
§ctrlc_handler: &'a CtrlCHandler
§cleanup_on_ctrlc: bool
§owner: UserId
§prefix: String
§me: UserId
§tx: Sender<String>
§room_to_aliases: BTreeMap<RoomId, Vec<RoomAliasId>>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EventArgs<'a>
impl<'a> RefUnwindSafe for EventArgs<'a>
impl<'a> Send for EventArgs<'a>
impl<'a> Sync for EventArgs<'a>
impl<'a> Unpin for EventArgs<'a>
impl<'a> UnwindSafe for EventArgs<'a>
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