pub struct StructuredBlob<Action> {
pub contract_name: ContractName,
pub data: StructuredBlobData<Action>,
}Fields§
§contract_name: ContractName§data: StructuredBlobData<Action>Trait Implementations§
Source§impl<Action> BorshDeserialize for StructuredBlob<Action>where
Action: BorshDeserialize,
impl<Action> BorshDeserialize for StructuredBlob<Action>where
Action: BorshDeserialize,
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl<Action> BorshSerialize for StructuredBlob<Action>where
Action: BorshSerialize,
impl<Action> BorshSerialize for StructuredBlob<Action>where
Action: BorshSerialize,
Source§impl<Action: Debug> Debug for StructuredBlob<Action>
impl<Action: Debug> Debug for StructuredBlob<Action>
Source§impl<Action: BorshSerialize> From<StructuredBlob<Action>> for Blob
impl<Action: BorshSerialize> From<StructuredBlob<Action>> for Blob
Source§fn from(val: StructuredBlob<Action>) -> Self
fn from(val: StructuredBlob<Action>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Action> Freeze for StructuredBlob<Action>where
Action: Freeze,
impl<Action> RefUnwindSafe for StructuredBlob<Action>where
Action: RefUnwindSafe,
impl<Action> Send for StructuredBlob<Action>where
Action: Send,
impl<Action> Sync for StructuredBlob<Action>where
Action: Sync,
impl<Action> Unpin for StructuredBlob<Action>where
Action: Unpin,
impl<Action> UnsafeUnpin for StructuredBlob<Action>where
Action: UnsafeUnpin,
impl<Action> UnwindSafe for StructuredBlob<Action>where
Action: UnwindSafe,
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