Struct stomp_parser::client::CommitFrameBuilder
source · pub struct CommitFrameBuilder { /* private fields */ }
Expand description
Commits a transaction.
This frame has required headers transaction
and optional headers receipt
.
Implementations§
source§impl CommitFrameBuilder
impl CommitFrameBuilder
sourcepub fn receipt(
self,
new_val: <ReceiptValue as HeaderValue>::OwnedValue
) -> CommitFrameBuilder
pub fn receipt( self, new_val: <ReceiptValue as HeaderValue>::OwnedValue ) -> CommitFrameBuilder
The value of the receipt
header.
pub fn new( transaction: <TransactionValue as HeaderValue>::OwnedValue ) -> CommitFrameBuilder
pub fn build(self) -> CommitFrame
Auto Trait Implementations§
impl RefUnwindSafe for CommitFrameBuilder
impl Send for CommitFrameBuilder
impl Sync for CommitFrameBuilder
impl Unpin for CommitFrameBuilder
impl UnwindSafe for CommitFrameBuilder
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