pub struct PrefetchContractKey {
pub template_id: String,
pub contract_key: Option<Value>,
}Expand description
PrefetchContractKey : Preload contracts
Fields§
§template_id: StringThe template of contract the client wants to prefetch. Both package-name and package-id reference identifier formats for the template-id are supported. Note: The package-id reference identifier format is deprecated. We plan to end support for this format in version 3.4. Required
contract_key: Option<Value>The key of the contract the client wants to prefetch. Required
Implementations§
Trait Implementations§
Source§impl Clone for PrefetchContractKey
impl Clone for PrefetchContractKey
Source§fn clone(&self) -> PrefetchContractKey
fn clone(&self) -> PrefetchContractKey
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 PrefetchContractKey
impl Debug for PrefetchContractKey
Source§impl Default for PrefetchContractKey
impl Default for PrefetchContractKey
Source§fn default() -> PrefetchContractKey
fn default() -> PrefetchContractKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PrefetchContractKey
impl<'de> Deserialize<'de> for PrefetchContractKey
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 PartialEq for PrefetchContractKey
impl PartialEq for PrefetchContractKey
Source§impl Serialize for PrefetchContractKey
impl Serialize for PrefetchContractKey
impl StructuralPartialEq for PrefetchContractKey
Auto Trait Implementations§
impl Freeze for PrefetchContractKey
impl RefUnwindSafe for PrefetchContractKey
impl Send for PrefetchContractKey
impl Sync for PrefetchContractKey
impl Unpin for PrefetchContractKey
impl UnsafeUnpin for PrefetchContractKey
impl UnwindSafe for PrefetchContractKey
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