pub struct MessageBuilder { /* private fields */ }Available on crate feature
std only.Expand description
Builder for ISO 8583 messages
Implementations§
Source§impl MessageBuilder
impl MessageBuilder
Sourcepub fn mti(self, mti: MessageType) -> Self
pub fn mti(self, mti: MessageType) -> Self
Set the MTI
Sourcepub fn binary_field(self, field: Field, value: Vec<u8>) -> Self
pub fn binary_field(self, field: Field, value: Vec<u8>) -> Self
Add a binary field
Sourcepub fn build(self) -> Result<ISO8583Message>
pub fn build(self) -> Result<ISO8583Message>
Build the message
Trait Implementations§
Source§impl Debug for MessageBuilder
impl Debug for MessageBuilder
Auto Trait Implementations§
impl Freeze for MessageBuilder
impl RefUnwindSafe for MessageBuilder
impl Send for MessageBuilder
impl Sync for MessageBuilder
impl Unpin for MessageBuilder
impl UnsafeUnpin for MessageBuilder
impl UnwindSafe for MessageBuilder
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