pub struct DeclarationFlags {
pub is_private: bool,
pub is_generated: bool,
pub is_internal: bool,
}Fields§
§is_private: bool§is_generated: bool§is_internal: boolTrait Implementations§
Source§impl Clone for DeclarationFlags
impl Clone for DeclarationFlags
Source§fn clone(&self) -> DeclarationFlags
fn clone(&self) -> DeclarationFlags
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 DeclarationFlags
impl Debug for DeclarationFlags
Source§impl JsonSchema for DeclarationFlags
impl JsonSchema for DeclarationFlags
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for DeclarationFlags
impl RefUnwindSafe for DeclarationFlags
impl Send for DeclarationFlags
impl Sync for DeclarationFlags
impl Unpin for DeclarationFlags
impl UnsafeUnpin for DeclarationFlags
impl UnwindSafe for DeclarationFlags
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