pub struct DataReceiverView {
pub data_id: CryptoHash,
pub receiver_id: AccountId,
}
Expand description
DataReceiverView
JSON schema
{
"type": "object",
"required": [
"data_id",
"receiver_id"
],
"properties": {
"data_id": {
"$ref": "#/components/schemas/CryptoHash"
},
"receiver_id": {
"$ref": "#/components/schemas/AccountId"
}
}
}
Fields§
§data_id: CryptoHash
§receiver_id: AccountId
Trait Implementations§
Source§impl Clone for DataReceiverView
impl Clone for DataReceiverView
Source§fn clone(&self) -> DataReceiverView
fn clone(&self) -> DataReceiverView
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 DataReceiverView
impl Debug for DataReceiverView
Source§impl<'de> Deserialize<'de> for DataReceiverView
impl<'de> Deserialize<'de> for DataReceiverView
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
Source§impl From<&DataReceiverView> for DataReceiverView
impl From<&DataReceiverView> for DataReceiverView
Source§fn from(value: &DataReceiverView) -> Self
fn from(value: &DataReceiverView) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DataReceiverView
impl RefUnwindSafe for DataReceiverView
impl Send for DataReceiverView
impl Sync for DataReceiverView
impl Unpin for DataReceiverView
impl UnwindSafe for DataReceiverView
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