pub struct ReceiptBody { /* private fields */ }Implementations§
Source§impl ReceiptBody
impl ReceiptBody
pub fn final_amount_wei<T>(self, value: T) -> Self
pub fn line_items<T>(self, value: T) -> Self
pub fn network<T>(self, value: T) -> Self
pub fn platform_fee_wei<T>(self, value: T) -> Self
pub fn provider_amount_wei<T>(self, value: T) -> Self
pub fn settled_at<T>(self, value: T) -> Self
pub fn subject<T>(self, value: T) -> Self
pub fn tx_hash<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for ReceiptBody
impl Clone for ReceiptBody
Source§fn clone(&self) -> ReceiptBody
fn clone(&self) -> ReceiptBody
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReceiptBody
impl Debug for ReceiptBody
Source§impl Default for ReceiptBody
impl Default for ReceiptBody
Source§impl From<ReceiptBody> for ReceiptBody
impl From<ReceiptBody> for ReceiptBody
Source§fn from(value: ReceiptBody) -> Self
fn from(value: ReceiptBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<ReceiptBody> for ReceiptBody
impl TryFrom<ReceiptBody> for ReceiptBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: ReceiptBody) -> Result<Self, ConversionError>
fn try_from(value: ReceiptBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ReceiptBody
impl RefUnwindSafe for ReceiptBody
impl Send for ReceiptBody
impl Sync for ReceiptBody
impl Unpin for ReceiptBody
impl UnsafeUnpin for ReceiptBody
impl UnwindSafe for ReceiptBody
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