pub struct DotnsResolution {
pub cid: String,
pub owner: Option<String>,
pub assets: HashMap<String, Vec<u8>>,
}Expand description
Result of a full DOTNS resolution — includes the CID for verification display.
Fields§
§cid: StringThe IPFS CID that was resolved on-chain.
owner: Option<String>On-chain owner/addr associated with this name (if resolvable).
assets: HashMap<String, Vec<u8>>Fetched assets from IPFS.
Auto Trait Implementations§
impl Freeze for DotnsResolution
impl RefUnwindSafe for DotnsResolution
impl Send for DotnsResolution
impl Sync for DotnsResolution
impl Unpin for DotnsResolution
impl UnsafeUnpin for DotnsResolution
impl UnwindSafe for DotnsResolution
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