pub enum AttributeType {
    Boolean,
    Integer,
    Double,
    String,
    Unknown(String),
}Variants§
Implementations§
Source§impl AttributeType
 
impl AttributeType
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§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 Display for AttributeType
 
impl Display for AttributeType
Source§impl Empty for AttributeType
 
impl Empty for AttributeType
Source§impl From<String> for AttributeType
 
impl From<String> for AttributeType
Source§impl FromValue for AttributeType
 
impl FromValue for AttributeType
Source§fn from_value(value: Annotated<Value>) -> Annotated<Self>
 
fn from_value(value: Annotated<Value>) -> Annotated<Self>
Creates a meta structure from an annotated boxed value.
Source§impl IntoValue for AttributeType
 
impl IntoValue for AttributeType
Source§fn into_value(self) -> Valuewhere
    Self: Sized,
 
fn into_value(self) -> Valuewhere
    Self: Sized,
Boxes the meta structure back into a value.
Source§fn serialize_payload<S>(
    &self,
    s: S,
    _behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
    Self: Sized,
    S: Serializer,
 
fn serialize_payload<S>(
    &self,
    s: S,
    _behavior: SkipSerialization,
) -> Result<S::Ok, S::Error>where
    Self: Sized,
    S: Serializer,
Efficiently serializes the payload directly.
§fn extract_child_meta(&self) -> BTreeMap<String, MetaTree>where
    Self: Sized,
 
fn extract_child_meta(&self) -> BTreeMap<String, MetaTree>where
    Self: Sized,
Extracts children meta map out of a value.
§fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
    Self: Sized,
 
fn extract_meta_tree(value: &Annotated<Self>) -> MetaTreewhere
    Self: Sized,
Extracts the meta tree out of annotated value. Read more
Source§impl PartialEq for AttributeType
 
impl PartialEq for AttributeType
Source§impl ProcessValue for AttributeType
 
impl ProcessValue for AttributeType
Source§fn value_type(&self) -> EnumSet<ValueType>
 
fn value_type(&self) -> EnumSet<ValueType>
Returns the type of the value.
Source§fn process_value<P>(
    &mut self,
    meta: &mut Meta,
    processor: &mut P,
    state: &ProcessingState<'_>,
) -> ProcessingResultwhere
    P: Processor,
 
fn process_value<P>(
    &mut self,
    meta: &mut Meta,
    processor: &mut P,
    state: &ProcessingState<'_>,
) -> ProcessingResultwhere
    P: Processor,
Executes a processor on this value.
Source§fn process_child_values<P>(
    &mut self,
    processor: &mut P,
    state: &ProcessingState<'_>,
) -> ProcessingResultwhere
    P: Processor,
 
fn process_child_values<P>(
    &mut self,
    processor: &mut P,
    state: &ProcessingState<'_>,
) -> ProcessingResultwhere
    P: Processor,
Recurses into children of this value.
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