Enum selene_lib::standard_library::v1::Field
source · [−]pub enum Field {
Any,
Complex {
function: Option<FunctionBehavior>,
table: BTreeMap<String, Field>,
},
Property {
writable: Option<Writable>,
},
Struct(String),
Removed,
}Variants
Any
Complex
Property
Struct(String)
Removed
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Field
impl<'de> Deserialize<'de> for Field
sourcefn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<FunctionBehavior> for Field
impl From<FunctionBehavior> for Field
sourcefn from(function: FunctionBehavior) -> Self
fn from(function: FunctionBehavior) -> Self
Converts to this type from the input type.
impl Eq for Field
impl StructuralEq for Field
impl StructuralPartialEq for Field
Auto Trait Implementations
impl RefUnwindSafe for Field
impl Send for Field
impl Sync for Field
impl Unpin for Field
impl UnwindSafe for Field
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key and return true if they are equal.