[−][src]Enum candid::parser::value::IDLValue
Variants
Bool(bool)
Text(String)
Number(String)
Principal(Principal)
Int(Int)
Nat(Nat)
Nat8(u8)
Nat16(u16)
Nat32(u32)
Nat64(u64)
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
Implementations
impl IDLValue
[src]
pub fn annotate_type(&self, env: &TypeEnv, t: &Type) -> Result<Self>
[src]
pub fn value_ty(&self) -> Type
[src]
Trait Implementations
impl CandidType for IDLValue
[src]
fn ty() -> Type
[src]
fn id() -> TypeId
[src]
fn _ty() -> Type
[src]
fn idl_serialize<S>(&self, serializer: S) -> Result<(), S::Error> where
S: Serializer,
[src]
S: Serializer,
impl Clone for IDLValue
[src]
impl Debug for IDLValue
[src]
impl<'de> Deserialize<'de> for IDLValue
[src]
fn deserialize<D>(deserializer: D) -> Result<IDLValue, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl Display for IDLValue
[src]
impl FromStr for IDLValue
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(str: &str) -> Result<Self, Self::Err>
[src]
impl PartialEq<IDLValue> for IDLValue
[src]
impl StructuralPartialEq for IDLValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for IDLValue
impl Send for IDLValue
impl Sync for IDLValue
impl Unpin for IDLValue
impl UnwindSafe for IDLValue
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,