pub struct ObjectPattern {
pub base: BaseNode,
pub properties: Vec<ObjectPatternProperty>,
pub type_annotation: Option<Box<Value>>,
pub decorators: Option<Vec<Value>>,
}Fields§
§base: BaseNode§properties: Vec<ObjectPatternProperty>§type_annotation: Option<Box<Value>>§decorators: Option<Vec<Value>>Trait Implementations§
Source§impl Clone for ObjectPattern
impl Clone for ObjectPattern
Source§fn clone(&self) -> ObjectPattern
fn clone(&self) -> ObjectPattern
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectPattern
impl Debug for ObjectPattern
Source§impl<'de> Deserialize<'de> for ObjectPattern
impl<'de> Deserialize<'de> for ObjectPattern
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 ObjectPattern
impl RefUnwindSafe for ObjectPattern
impl Send for ObjectPattern
impl Sync for ObjectPattern
impl Unpin for ObjectPattern
impl UnsafeUnpin for ObjectPattern
impl UnwindSafe for ObjectPattern
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