pub struct StackingOofRefitContract {
pub policy: StackingOofRefitPolicy,
}Fields§
§policy: StackingOofRefitPolicyImplementations§
Source§impl StackingOofRefitContract
impl StackingOofRefitContract
pub fn from_metadata( metadata: &BTreeMap<String, Value>, ) -> Result<StackingOofRefitContract, DagMlError>
Trait Implementations§
Source§impl Clone for StackingOofRefitContract
impl Clone for StackingOofRefitContract
Source§fn clone(&self) -> StackingOofRefitContract
fn clone(&self) -> StackingOofRefitContract
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StackingOofRefitContract
impl Debug for StackingOofRefitContract
Source§impl Default for StackingOofRefitContract
impl Default for StackingOofRefitContract
Source§fn default() -> StackingOofRefitContract
fn default() -> StackingOofRefitContract
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StackingOofRefitContract
impl<'de> Deserialize<'de> for StackingOofRefitContract
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StackingOofRefitContract, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StackingOofRefitContract, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StackingOofRefitContract
Source§impl PartialEq for StackingOofRefitContract
impl PartialEq for StackingOofRefitContract
Source§fn eq(&self, other: &StackingOofRefitContract) -> bool
fn eq(&self, other: &StackingOofRefitContract) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StackingOofRefitContract
impl Serialize for StackingOofRefitContract
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for StackingOofRefitContract
Auto Trait Implementations§
impl Freeze for StackingOofRefitContract
impl RefUnwindSafe for StackingOofRefitContract
impl Send for StackingOofRefitContract
impl Sync for StackingOofRefitContract
impl Unpin for StackingOofRefitContract
impl UnsafeUnpin for StackingOofRefitContract
impl UnwindSafe for StackingOofRefitContract
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.