pub struct RealtimeResponseStatusBuilder(/* private fields */);Expand description
Builder for RealtimeResponseStatus.
Implementations§
Source§impl RealtimeResponseStatusBuilder
impl RealtimeResponseStatusBuilder
pub fn error( self, value: impl Into<Option<RealtimeResponseStatusError>>, ) -> Self
pub fn reason( self, value: impl Into<Option<RealtimeResponseStatusReason>>, ) -> Self
pub fn type_(self, value: impl Into<Option<RealtimeResponseStatusType>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RealtimeResponseStatus
pub fn build(self) -> RealtimeResponseStatus
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RealtimeResponseStatusBuilder
impl RefUnwindSafe for RealtimeResponseStatusBuilder
impl Send for RealtimeResponseStatusBuilder
impl Sync for RealtimeResponseStatusBuilder
impl Unpin for RealtimeResponseStatusBuilder
impl UnsafeUnpin for RealtimeResponseStatusBuilder
impl UnwindSafe for RealtimeResponseStatusBuilder
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