pub struct TypescriptType {
pub typescript_type: String,
pub is_optional: bool,
}Fields§
§typescript_type: String§is_optional: boolImplementations§
Trait Implementations§
Source§impl Clone for TypescriptType
impl Clone for TypescriptType
Source§fn clone(&self) -> TypescriptType
fn clone(&self) -> TypescriptType
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 TypescriptType
impl Debug for TypescriptType
Source§impl From<String> for TypescriptType
impl From<String> for TypescriptType
Source§fn from(typescript_type: String) -> TypescriptType
fn from(typescript_type: String) -> TypescriptType
Converts to this type from the input type.
Source§impl PartialEq for TypescriptType
impl PartialEq for TypescriptType
impl StructuralPartialEq for TypescriptType
Auto Trait Implementations§
impl Freeze for TypescriptType
impl RefUnwindSafe for TypescriptType
impl Send for TypescriptType
impl Sync for TypescriptType
impl Unpin for TypescriptType
impl UnwindSafe for TypescriptType
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