pub struct PaymentRequirements {
pub scheme: String,
pub network: String,
pub amount: String,
pub asset: String,
pub pay_to: String,
pub max_timeout_seconds: u64,
pub extra: Value,
pub description: Option<String>,
pub resource: Option<String>,
}Fields§
§scheme: String§network: String§amount: String§asset: String§pay_to: String§max_timeout_seconds: u64§extra: Value§description: Option<String>§resource: Option<String>Trait Implementations§
Source§impl Clone for PaymentRequirements
impl Clone for PaymentRequirements
Source§fn clone(&self) -> PaymentRequirements
fn clone(&self) -> PaymentRequirements
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 PaymentRequirements
impl Debug for PaymentRequirements
Source§impl<'de> Deserialize<'de> for PaymentRequirements
impl<'de> Deserialize<'de> for PaymentRequirements
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 PaymentRequirements
impl RefUnwindSafe for PaymentRequirements
impl Send for PaymentRequirements
impl Sync for PaymentRequirements
impl Unpin for PaymentRequirements
impl UnsafeUnpin for PaymentRequirements
impl UnwindSafe for PaymentRequirements
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