Struct dbml_rs::ast::project::ProjectBlock
source · pub struct ProjectBlock {
pub span_range: Range<usize>,
pub name: String,
pub database_type: DatabaseType,
pub note: Option<String>,
}Fields§
§span_range: Range<usize>§name: String§database_type: DatabaseType§note: Option<String>Trait Implementations§
source§impl Clone for ProjectBlock
impl Clone for ProjectBlock
source§fn clone(&self) -> ProjectBlock
fn clone(&self) -> ProjectBlock
Returns a copy 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 ProjectBlock
impl Debug for ProjectBlock
source§impl Default for ProjectBlock
impl Default for ProjectBlock
source§fn default() -> ProjectBlock
fn default() -> ProjectBlock
Returns the “default value” for a type. Read more
source§impl From<Span<'_>> for ProjectBlock
impl From<Span<'_>> for ProjectBlock
source§impl PartialEq<ProjectBlock> for ProjectBlock
impl PartialEq<ProjectBlock> for ProjectBlock
source§fn eq(&self, other: &ProjectBlock) -> bool
fn eq(&self, other: &ProjectBlock) -> bool
This method tests for
self and other values to be equal, and is used
by ==.