pub struct DataReceiptData {
pub data_id: CryptoHash,
pub data: Option<String>,
}Expand description
Data receipt data.
Fields§
§data_id: CryptoHashData ID.
data: Option<String>Data content (optional).
Trait Implementations§
Source§impl Clone for DataReceiptData
impl Clone for DataReceiptData
Source§fn clone(&self) -> DataReceiptData
fn clone(&self) -> DataReceiptData
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 DataReceiptData
impl Debug for DataReceiptData
Source§impl<'de> Deserialize<'de> for DataReceiptData
impl<'de> Deserialize<'de> for DataReceiptData
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 DataReceiptData
impl RefUnwindSafe for DataReceiptData
impl Send for DataReceiptData
impl Sync for DataReceiptData
impl Unpin for DataReceiptData
impl UnsafeUnpin for DataReceiptData
impl UnwindSafe for DataReceiptData
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