pub struct RegisterAssetResponse {
pub success: bool,
pub message: Option<String>,
pub asset_data: Option<Asset>,
}Expand description
Response from asset registration with the Blockstream Asset Registry Response from asset registration with the Blockstream Asset Registry
Fields§
§success: boolIndicates whether the registration was successful
message: Option<String>Optional message providing additional context
asset_data: Option<Asset>The full asset data if registration was successful (HTTP 200 with asset data)
Trait Implementations§
Source§impl Clone for RegisterAssetResponse
impl Clone for RegisterAssetResponse
Source§fn clone(&self) -> RegisterAssetResponse
fn clone(&self) -> RegisterAssetResponse
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 RegisterAssetResponse
impl Debug for RegisterAssetResponse
Source§impl<'de> Deserialize<'de> for RegisterAssetResponse
impl<'de> Deserialize<'de> for RegisterAssetResponse
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 RegisterAssetResponse
impl RefUnwindSafe for RegisterAssetResponse
impl Send for RegisterAssetResponse
impl Sync for RegisterAssetResponse
impl Unpin for RegisterAssetResponse
impl UnsafeUnpin for RegisterAssetResponse
impl UnwindSafe for RegisterAssetResponse
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