pub struct LiveServerEventSelectorBuilder(/* private fields */);Expand description
Builder for LiveServerEventSelector.
Implementations§
Source§impl LiveServerEventSelectorBuilder
impl LiveServerEventSelectorBuilder
pub fn response_event(self, value: impl Into<Value>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> LiveServerEventSelector
pub fn build(self) -> LiveServerEventSelector
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for LiveServerEventSelectorBuilder
impl RefUnwindSafe for LiveServerEventSelectorBuilder
impl Send for LiveServerEventSelectorBuilder
impl Sync for LiveServerEventSelectorBuilder
impl Unpin for LiveServerEventSelectorBuilder
impl UnsafeUnpin for LiveServerEventSelectorBuilder
impl UnwindSafe for LiveServerEventSelectorBuilder
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