Struct rgbwallet::RgbInvoice
source · pub struct RgbInvoice {
pub transports: Vec<RgbTransport>,
pub contract: Option<ContractId>,
pub iface: Option<TypeName>,
pub operation: Option<TypeName>,
pub assignment: Option<FieldName>,
pub beneficiary: Beneficiary,
pub owned_state: TypedState,
pub chain: Option<Chain>,
pub expiry: Option<i64>,
pub unknown_query: IndexMap<String, String>,
}Fields§
§transports: Vec<RgbTransport>§contract: Option<ContractId>§iface: Option<TypeName>§operation: Option<TypeName>§assignment: Option<FieldName>§beneficiary: Beneficiary§owned_state: TypedState§chain: Option<Chain>§expiry: Option<i64>UTC unix timestamp
unknown_query: IndexMap<String, String>Trait Implementations§
source§impl Clone for RgbInvoice
impl Clone for RgbInvoice
source§fn clone(&self) -> RgbInvoice
fn clone(&self) -> RgbInvoice
Returns a copy 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 RgbInvoice
impl Debug for RgbInvoice
source§impl Display for RgbInvoice
impl Display for RgbInvoice
source§impl FromStr for RgbInvoice
impl FromStr for RgbInvoice
source§impl PartialEq for RgbInvoice
impl PartialEq for RgbInvoice
source§fn eq(&self, other: &RgbInvoice) -> bool
fn eq(&self, other: &RgbInvoice) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RgbInvoice
impl StructuralEq for RgbInvoice
impl StructuralPartialEq for RgbInvoice
Auto Trait Implementations§
impl RefUnwindSafe for RgbInvoice
impl Send for RgbInvoice
impl Sync for RgbInvoice
impl Unpin for RgbInvoice
impl UnwindSafe for RgbInvoice
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.