Enum selene_lib::standard_library::Field [−][src]
pub enum Field { Any, Complex { function: Option<FunctionBehavior>, table: BTreeMap<String, Field>, }, Property { writable: Option<Writable>, }, Struct(String), Removed, }
Variants
Show fields
Fields of Complex
function: Option<FunctionBehavior>
table: BTreeMap<String, Field>
Struct(String)
Trait Implementations
impl<'de> Deserialize<'de> for Field
[src]
impl<'de> Deserialize<'de> for Field
[src]fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
[src]Deserialize this value from the given Serde deserializer. Read more
impl From<FunctionBehavior> for Field
[src]
impl From<FunctionBehavior> for Field
[src]fn from(function: FunctionBehavior) -> Self
[src]
fn from(function: FunctionBehavior) -> Self
[src]Performs the conversion.
impl Eq for Field
[src]
impl StructuralEq for Field
[src]
impl StructuralPartialEq for Field
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,