pub struct LiveServerEventBuilder(/* private fields */);Expand description
Builder for LiveServerEvent.
Implementations§
Source§impl LiveServerEventBuilder
impl LiveServerEventBuilder
pub fn event_id(self, value: impl Into<String>) -> Self
pub fn session(self, value: impl Into<LiveSessionConfig>) -> Self
pub fn session_id(self, value: impl Into<String>) -> Self
pub fn delegation_id(self, value: impl Into<Option<String>>) -> Self
pub fn trigger_id(self, value: impl Into<Option<String>>) -> Self
pub fn source_event_type(self, value: impl Into<String>) -> Self
pub fn source_event_id(self, value: impl Into<String>) -> Self
pub fn event(self, value: impl Into<LiveDelegatedEvent>) -> Self
pub fn usage(self, value: impl Into<LiveSessionUsage>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> LiveServerEvent
pub fn build(self) -> LiveServerEvent
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for LiveServerEventBuilder
impl RefUnwindSafe for LiveServerEventBuilder
impl Send for LiveServerEventBuilder
impl Sync for LiveServerEventBuilder
impl Unpin for LiveServerEventBuilder
impl UnsafeUnpin for LiveServerEventBuilder
impl UnwindSafe for LiveServerEventBuilder
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