pub struct TSInterfaceDeclaration {
pub base: BaseNode,
pub id: Identifier,
pub body: Box<Value>,
pub type_parameters: Option<Box<Value>>,
pub extends: Option<Vec<Value>>,
pub declare: Option<bool>,
}Fields§
§base: BaseNode§id: Identifier§body: Box<Value>§type_parameters: Option<Box<Value>>§extends: Option<Vec<Value>>§declare: Option<bool>Trait Implementations§
Source§impl Clone for TSInterfaceDeclaration
impl Clone for TSInterfaceDeclaration
Source§fn clone(&self) -> TSInterfaceDeclaration
fn clone(&self) -> TSInterfaceDeclaration
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 TSInterfaceDeclaration
impl Debug for TSInterfaceDeclaration
Source§impl<'de> Deserialize<'de> for TSInterfaceDeclaration
impl<'de> Deserialize<'de> for TSInterfaceDeclaration
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 TSInterfaceDeclaration
impl RefUnwindSafe for TSInterfaceDeclaration
impl Send for TSInterfaceDeclaration
impl Sync for TSInterfaceDeclaration
impl Unpin for TSInterfaceDeclaration
impl UnsafeUnpin for TSInterfaceDeclaration
impl UnwindSafe for TSInterfaceDeclaration
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