pub enum DetailValue {
True,
False,
U64(u64),
I64(i64),
Float(f64),
Text(String),
Principal(Principal),
Slice(Vec<u8>),
Vec(Vec<DetailValue>),
TokenIdU64(u64),
}Variants§
True
False
U64(u64)
I64(i64)
Float(f64)
Text(String)
Principal(Principal)
Slice(Vec<u8>)
Vec(Vec<DetailValue>)
TokenIdU64(u64)
Trait Implementations§
Source§impl CandidType for DetailValue
impl CandidType for DetailValue
Source§impl Clone for DetailValue
impl Clone for DetailValue
Source§fn clone(&self) -> DetailValue
fn clone(&self) -> DetailValue
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 DetailValue
impl Debug for DetailValue
Source§impl<'de> Deserialize<'de> for DetailValue
impl<'de> Deserialize<'de> for DetailValue
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DetailValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DetailValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Nat> for DetailValue
impl From<Nat> for DetailValue
Source§fn from(nat: Nat) -> DetailValue
fn from(nat: Nat) -> DetailValue
Converts to this type from the input type.
Source§impl From<Principal> for DetailValue
impl From<Principal> for DetailValue
Source§fn from(principal: Principal) -> DetailValue
fn from(principal: Principal) -> DetailValue
Converts to this type from the input type.
Source§impl From<String> for DetailValue
impl From<String> for DetailValue
Source§fn from(string: String) -> DetailValue
fn from(string: String) -> DetailValue
Converts to this type from the input type.
Source§impl From<f64> for DetailValue
impl From<f64> for DetailValue
Source§fn from(float: f64) -> DetailValue
fn from(float: f64) -> DetailValue
Converts to this type from the input type.
Source§impl From<i64> for DetailValue
impl From<i64> for DetailValue
Source§fn from(num: i64) -> DetailValue
fn from(num: i64) -> DetailValue
Converts to this type from the input type.
Source§impl From<u64> for DetailValue
impl From<u64> for DetailValue
Source§fn from(num: u64) -> DetailValue
fn from(num: u64) -> DetailValue
Converts to this type from the input type.
Source§impl Serialize for DetailValue
impl Serialize for DetailValue
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
Source§impl TryInto<Nat> for DetailValue
impl TryInto<Nat> for DetailValue
Source§impl TryInto<Principal> for DetailValue
impl TryInto<Principal> for DetailValue
Source§impl TryInto<String> for DetailValue
impl TryInto<String> for DetailValue
Source§impl TryInto<f64> for DetailValue
impl TryInto<f64> for DetailValue
Source§impl TryInto<i64> for DetailValue
impl TryInto<i64> for DetailValue
Auto Trait Implementations§
impl Freeze for DetailValue
impl RefUnwindSafe for DetailValue
impl Send for DetailValue
impl Sync for DetailValue
impl Unpin for DetailValue
impl UnwindSafe for DetailValue
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