pub struct SettleBody { /* private fields */ }Implementations§
Source§impl SettleBody
impl SettleBody
pub fn final_amount_wei<T>(self, value: T) -> Self
pub fn meter<T>(self, value: T) -> Self
pub fn payment_intent_id<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for SettleBody
impl Clone for SettleBody
Source§fn clone(&self) -> SettleBody
fn clone(&self) -> SettleBody
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 SettleBody
impl Debug for SettleBody
Source§impl Default for SettleBody
impl Default for SettleBody
Source§impl From<SettleBody> for SettleBody
impl From<SettleBody> for SettleBody
Source§fn from(value: SettleBody) -> Self
fn from(value: SettleBody) -> Self
Converts to this type from the input type.
Source§impl TryFrom<SettleBody> for SettleBody
impl TryFrom<SettleBody> for SettleBody
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: SettleBody) -> Result<Self, ConversionError>
fn try_from(value: SettleBody) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for SettleBody
impl RefUnwindSafe for SettleBody
impl Send for SettleBody
impl Sync for SettleBody
impl Unpin for SettleBody
impl UnsafeUnpin for SettleBody
impl UnwindSafe for SettleBody
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