Struct ssip_client_async::Event
source · pub struct Event {
pub ntype: EventType,
pub id: EventId,
}
Expand description
Notification event
Fields§
§ntype: EventType
§id: EventId
Implementations§
source§impl Event
impl Event
pub fn new(ntype: EventType, message: &str, client: &str) -> Event
pub fn begin(message: &str, client: &str) -> Event
pub fn end(message: &str, client: &str) -> Event
pub fn index_mark(mark: String, message: &str, client: &str) -> Event
pub fn cancel(message: &str, client: &str) -> Event
pub fn pause(message: &str, client: &str) -> Event
pub fn resume(message: &str, client: &str) -> Event
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnwindSafe for Event
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