pub struct VirtualAccountEscrowProduct {
pub id: String,
pub name: String,
pub code: String,
pub unit_price: i32,
pub quantity: i32,
}
Fields§
§id: String
§name: String
§code: String
§unit_price: i32
§quantity: i32
Implementations§
Source§impl VirtualAccountEscrowProduct
impl VirtualAccountEscrowProduct
Sourcepub fn builder() -> VirtualAccountEscrowProductBuilder<((), (), (), (), ())>
pub fn builder() -> VirtualAccountEscrowProductBuilder<((), (), (), (), ())>
Create a builder for building VirtualAccountEscrowProduct
.
On the builder, call .id(...)
, .name(...)
, .code(...)
, .unit_price(...)
, .quantity(...)
to set the values of the fields.
Finally, call .build()
to create the instance of VirtualAccountEscrowProduct
.
Trait Implementations§
Source§impl Clone for VirtualAccountEscrowProduct
impl Clone for VirtualAccountEscrowProduct
Source§fn clone(&self) -> VirtualAccountEscrowProduct
fn clone(&self) -> VirtualAccountEscrowProduct
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 moreSource§impl Debug for VirtualAccountEscrowProduct
impl Debug for VirtualAccountEscrowProduct
Source§impl<'de> Deserialize<'de> for VirtualAccountEscrowProduct
impl<'de> Deserialize<'de> for VirtualAccountEscrowProduct
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for VirtualAccountEscrowProduct
impl RefUnwindSafe for VirtualAccountEscrowProduct
impl Send for VirtualAccountEscrowProduct
impl Sync for VirtualAccountEscrowProduct
impl Unpin for VirtualAccountEscrowProduct
impl UnwindSafe for VirtualAccountEscrowProduct
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