pub struct PairingApproveResult {
pub approved: bool,
pub client_name: String,
pub token_id: String,
}Expand description
control.pairing.approve — the mint acknowledgement + the new token’s id.
Fields§
§approved: boolAlways true.
client_name: StringThe requesting client’s declared name.
token_id: StringThe short id of the minted paired token (used to revoke it).
Trait Implementations§
Source§impl Clone for PairingApproveResult
impl Clone for PairingApproveResult
Source§fn clone(&self) -> PairingApproveResult
fn clone(&self) -> PairingApproveResult
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 PairingApproveResult
impl Debug for PairingApproveResult
Source§impl<'de> Deserialize<'de> for PairingApproveResult
impl<'de> Deserialize<'de> for PairingApproveResult
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
impl Eq for PairingApproveResult
Source§impl PartialEq for PairingApproveResult
impl PartialEq for PairingApproveResult
Source§impl Serialize for PairingApproveResult
impl Serialize for PairingApproveResult
impl StructuralPartialEq for PairingApproveResult
Auto Trait Implementations§
impl Freeze for PairingApproveResult
impl RefUnwindSafe for PairingApproveResult
impl Send for PairingApproveResult
impl Sync for PairingApproveResult
impl Unpin for PairingApproveResult
impl UnsafeUnpin for PairingApproveResult
impl UnwindSafe for PairingApproveResult
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