pub struct SystemEventBuilder;Implementations§
Source§impl SystemEventBuilder
impl SystemEventBuilder
pub fn context_created(context_id: ContextId, name: String) -> SystemEvent
pub fn context_updated( context_id: ContextId, name: Option<String>, ) -> SystemEvent
pub fn context_deleted(context_id: ContextId) -> SystemEvent
pub fn contexts_snapshot(contexts: Vec<ContextSummary>) -> SystemEvent
pub fn connected(connection_id: String) -> SystemEvent
pub fn heartbeat() -> SystemEvent
Trait Implementations§
Source§impl Clone for SystemEventBuilder
impl Clone for SystemEventBuilder
Source§fn clone(&self) -> SystemEventBuilder
fn clone(&self) -> SystemEventBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SystemEventBuilder
impl Debug for SystemEventBuilder
impl Copy for SystemEventBuilder
Auto Trait Implementations§
impl Freeze for SystemEventBuilder
impl RefUnwindSafe for SystemEventBuilder
impl Send for SystemEventBuilder
impl Sync for SystemEventBuilder
impl Unpin for SystemEventBuilder
impl UnwindSafe for SystemEventBuilder
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