pub enum AttributeType {
Boolean,
Binary,
Text,
Numeric,
DateTime,
}
Variants§
Trait Implementations§
Source§impl Clone for AttributeType
impl Clone for AttributeType
Source§fn clone(&self) -> AttributeType
fn clone(&self) -> AttributeType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AttributeType
impl Debug for AttributeType
Source§impl<'de> Deserialize<'de> for AttributeType
impl<'de> Deserialize<'de> for AttributeType
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AttributeType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AttributeType
impl Display for AttributeType
Source§impl From<AttributeType> for JsValue
impl From<AttributeType> for JsValue
Source§fn from(value: AttributeType) -> JsValue
fn from(value: AttributeType) -> JsValue
Converts to this type from the input type.
Source§impl FromStr for AttributeType
impl FromStr for AttributeType
Source§impl FromWasmAbi for AttributeType
impl FromWasmAbi for AttributeType
Source§impl Hash for AttributeType
impl Hash for AttributeType
Source§impl IntoWasmAbi for AttributeType
impl IntoWasmAbi for AttributeType
Source§impl OptionFromWasmAbi for AttributeType
impl OptionFromWasmAbi for AttributeType
Source§fn is_none(val: &<AttributeType as FromWasmAbi>::Abi) -> bool
fn is_none(val: &<AttributeType as FromWasmAbi>::Abi) -> bool
Tests whether the argument is a “none” instance. If so it will be
deserialized as
None
, and otherwise it will be passed to
FromWasmAbi
.Source§impl OptionIntoWasmAbi for AttributeType
impl OptionIntoWasmAbi for AttributeType
Source§fn none() -> <AttributeType as IntoWasmAbi>::Abi
fn none() -> <AttributeType as IntoWasmAbi>::Abi
Returns an ABI instance indicating “none”, which JS will interpret as
the
None
branch of this option. Read moreSource§impl PartialEq for AttributeType
impl PartialEq for AttributeType
Source§impl Serialize for AttributeType
impl Serialize for AttributeType
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 TryFromJsValue for AttributeType
impl TryFromJsValue for AttributeType
Source§fn try_from_js_value(
value: JsValue,
) -> Result<AttributeType, <AttributeType as TryFromJsValue>::Error>
fn try_from_js_value( value: JsValue, ) -> Result<AttributeType, <AttributeType as TryFromJsValue>::Error>
Performs the conversion.
Source§impl VectorFromWasmAbi for AttributeType
impl VectorFromWasmAbi for AttributeType
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi( js: <AttributeType as VectorFromWasmAbi>::Abi, ) -> Box<[AttributeType]>
Source§impl VectorIntoWasmAbi for AttributeType
impl VectorIntoWasmAbi for AttributeType
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi( vector: Box<[AttributeType]>, ) -> <AttributeType as VectorIntoWasmAbi>::Abi
impl Copy for AttributeType
impl Eq for AttributeType
impl StructuralPartialEq for AttributeType
Auto Trait Implementations§
impl Freeze for AttributeType
impl RefUnwindSafe for AttributeType
impl Send for AttributeType
impl Sync for AttributeType
impl Unpin for AttributeType
impl UnwindSafe for AttributeType
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,
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.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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.