Enum oca_bundle::state::attribute::AttributeType
source · pub enum AttributeType {
Boolean,
ArrayBoolean,
Binary,
ArrayBinary,
Text,
ArrayText,
Numeric,
ArrayNumeric,
DateTime,
ArrayDateTime,
Reference,
ArrayReference,
}Variants§
Boolean
ArrayBoolean
Binary
ArrayBinary
Text
ArrayText
Numeric
ArrayNumeric
DateTime
ArrayDateTime
Reference
ArrayReference
Trait Implementations§
source§impl Clone for AttributeType
impl Clone for AttributeType
source§fn clone(&self) -> AttributeType
fn clone(&self) -> AttributeType
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 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 FromStr for AttributeType
impl FromStr for AttributeType
source§impl FromWasmAbi for AttributeType
impl FromWasmAbi for AttributeType
source§impl IntoWasmAbi for AttributeType
impl IntoWasmAbi for AttributeType
source§impl OptionFromWasmAbi for AttributeType
impl OptionFromWasmAbi for AttributeType
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§fn eq(&self, other: &AttributeType) -> bool
fn eq(&self, other: &AttributeType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.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 StructuralPartialEq for AttributeType
Auto Trait Implementations§
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abisource§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.