pub struct MessageDeltaBuilder(/* private fields */);Expand description
Builder for MessageDelta.
Implementations§
Source§impl MessageDeltaBuilder
impl MessageDeltaBuilder
pub fn container(self, value: impl Into<Option<ResponseContainer>>) -> Self
pub fn stop_details(self, value: impl Into<Option<RefusalStopDetails>>) -> Self
pub fn stop_reason(self, value: impl Into<Option<StreamStopReason>>) -> Self
pub fn stop_sequence(self, value: impl Into<Option<String>>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> MessageDelta
pub fn build(self) -> MessageDelta
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for MessageDeltaBuilder
impl RefUnwindSafe for MessageDeltaBuilder
impl Send for MessageDeltaBuilder
impl Sync for MessageDeltaBuilder
impl Unpin for MessageDeltaBuilder
impl UnsafeUnpin for MessageDeltaBuilder
impl UnwindSafe for MessageDeltaBuilder
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