pub struct ReceiptBuilder { /* private fields */ }
Expand description
Binary layout for a receipt entity.
Implementations§
Source§impl ReceiptBuilder
impl ReceiptBuilder
Sourcepub fn from_binary(_bytes: &[u8]) -> Self
pub fn from_binary(_bytes: &[u8]) -> Self
Creates an instance of ReceiptBuilder from binary payload. payload: Byte payload to use to serialize the object.
§Returns
A ReceiptBuilder.
Sourcepub fn get_version(&self) -> u16
pub fn get_version(&self) -> u16
Sourcepub fn get_type(&self) -> ReceiptTypeDto
pub fn get_type(&self) -> ReceiptTypeDto
Trait Implementations§
Source§impl Clone for ReceiptBuilder
impl Clone for ReceiptBuilder
Source§fn clone(&self) -> ReceiptBuilder
fn clone(&self) -> ReceiptBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for ReceiptBuilder
impl RefUnwindSafe for ReceiptBuilder
impl Send for ReceiptBuilder
impl Sync for ReceiptBuilder
impl Unpin for ReceiptBuilder
impl UnwindSafe for ReceiptBuilder
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