Struct doku::Type [−][src]
pub struct Type {
pub comment: Option<&'static str>,
pub example: Option<Example>,
pub tag: Option<&'static str>,
pub serializable: bool,
pub deserializable: bool,
pub kind: TypeKind,
}
Fields
comment: Option<&'static str>
example: Option<Example>
tag: Option<&'static str>
When we have an adjacently-tagged enum, this field contains name of the field that should represent that enum’s tag.
serializable: bool
Whether this type is serializable or not (think
#[serde(skip_serializing)]
).
deserializable: bool
Whether this type is deserializable or not (think
#[serde(skip_deserializing)]
).
kind: TypeKind
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Type
impl UnwindSafe for Type
Blanket Implementations
Mutably borrows from an owned value. Read more