Enum scrypto::prelude::NoCustomValue
source · pub enum NoCustomValue {}
Trait Implementations§
source§impl Clone for NoCustomValue
impl Clone for NoCustomValue
source§fn clone(&self) -> NoCustomValue
fn clone(&self) -> NoCustomValue
Returns a copy 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 CustomValue<NoCustomValueKind> for NoCustomValue
impl CustomValue<NoCustomValueKind> for NoCustomValue
fn get_custom_value_kind(&self) -> NoCustomValueKind
source§impl Debug for NoCustomValue
impl Debug for NoCustomValue
source§impl<X, D> Decode<X, D> for NoCustomValuewhere
X: CustomValueKind,
D: Decoder<X>,
impl<X, D> Decode<X, D> for NoCustomValuewhere
X: CustomValueKind,
D: Decoder<X>,
source§fn decode_body_with_value_kind(
_: &mut D,
_: ValueKind<X>
) -> Result<NoCustomValue, DecodeError>where
NoCustomValue: Sized,
fn decode_body_with_value_kind(
_: &mut D,
_: ValueKind<X>
) -> Result<NoCustomValue, DecodeError>where
NoCustomValue: Sized,
Decodes the type from the decoder, which should match a preloaded value kind. Read more
source§impl<'de> Deserialize<'de> for NoCustomValue
impl<'de> Deserialize<'de> for NoCustomValue
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<NoCustomValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<NoCustomValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<X, E> Encode<X, E> for NoCustomValuewhere
X: CustomValueKind,
E: Encoder<X>,
impl<X, E> Encode<X, E> for NoCustomValuewhere
X: CustomValueKind,
E: Encoder<X>,
source§fn encode_value_kind(&self, _encoder: &mut E) -> Result<(), EncodeError>
fn encode_value_kind(&self, _encoder: &mut E) -> Result<(), EncodeError>
Encodes the SBOR value’s kind to the encoder
source§fn encode_body(&self, _encoder: &mut E) -> Result<(), EncodeError>
fn encode_body(&self, _encoder: &mut E) -> Result<(), EncodeError>
Encodes the SBOR body of the type to the encoder. Read more
source§impl PartialEq for NoCustomValue
impl PartialEq for NoCustomValue
source§fn eq(&self, other: &NoCustomValue) -> bool
fn eq(&self, other: &NoCustomValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for NoCustomValue
impl Serialize for NoCustomValue
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 Eq for NoCustomValue
impl StructuralPartialEq for NoCustomValue
Auto Trait Implementations§
impl RefUnwindSafe for NoCustomValue
impl Send for NoCustomValue
impl Sync for NoCustomValue
impl Unpin for NoCustomValue
impl UnwindSafe for NoCustomValue
Blanket Implementations§
§impl<U> As for U
impl<U> As for U
§fn as_<T>(self) -> Twhere
T: CastFrom<U>,
fn as_<T>(self) -> Twhere
T: CastFrom<U>,
Casts
self
to type T
. The semantics of numeric casting with the as
operator are followed, so <T as As>::as_::<U>
can be used in the same way as T as U
for numeric conversions. Read moresource§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<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.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more