pub enum ObjectPreviewType {
Object,
Function,
Undefined,
String,
Number,
Boolean,
Symbol,
Bigint,
}
Available on crate feature
Runtime
only.Variants§
Object
object
Function
function
Undefined
undefined
String
string
Number
number
Boolean
boolean
Symbol
symbol
Bigint
bigint
Trait Implementations§
Source§impl Clone for ObjectPreviewType
impl Clone for ObjectPreviewType
Source§fn clone(&self) -> ObjectPreviewType
fn clone(&self) -> ObjectPreviewType
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 ObjectPreviewType
impl Debug for ObjectPreviewType
Source§impl<'de> Deserialize<'de> for ObjectPreviewType
impl<'de> Deserialize<'de> for ObjectPreviewType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ObjectPreviewType
impl RefUnwindSafe for ObjectPreviewType
impl Send for ObjectPreviewType
impl Sync for ObjectPreviewType
impl Unpin for ObjectPreviewType
impl UnwindSafe for ObjectPreviewType
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