#[non_exhaustive]pub struct Type {Show 14 fields
pub name: Option<String>,
pub alias: Option<String>,
pub api: Option<String>,
pub requires: Option<String>,
pub category: Option<String>,
pub comment: Option<String>,
pub parent: Option<String>,
pub returnedonly: Option<String>,
pub structextends: Option<String>,
pub allowduplicate: Option<String>,
pub objtypeenum: Option<String>,
pub bitvalues: Option<String>,
pub spec: TypeSpec,
pub deprecated: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
§alias: Option<String>
§api: Option<String>
§requires: Option<String>
§category: Option<String>
§comment: Option<String>
§parent: Option<String>
§returnedonly: Option<String>
§structextends: Option<String>
§allowduplicate: Option<String>
§objtypeenum: Option<String>
§bitvalues: Option<String>
§spec: TypeSpec
§deprecated: Option<String>
Trait Implementations§
impl Eq for Type
impl StructuralPartialEq for Type
Auto Trait Implementations§
impl Freeze for Type
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
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