pub struct ColumnName {
pub name: Identifier,
pub span: Range<usize>,
}Expand description
Column name.
Fields§
§name: IdentifierThe name of the column.
span: Range<usize>The span of the column name in the source.
Trait Implementations§
Source§impl AsDocument for ColumnName
Available on crate feature oak-pretty-print only.
impl AsDocument for ColumnName
Available on crate feature
oak-pretty-print only.Source§fn as_document(&self) -> Document<'_>
fn as_document(&self) -> Document<'_>
Converts this type to a document for pretty printing.
Source§impl Clone for ColumnName
impl Clone for ColumnName
Source§fn clone(&self) -> ColumnName
fn clone(&self) -> ColumnName
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 ColumnName
impl Debug for ColumnName
Source§impl<'de> Deserialize<'de> for ColumnName
impl<'de> Deserialize<'de> for ColumnName
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ColumnName
impl Serialize for ColumnName
Source§impl ToSource for ColumnName
impl ToSource for ColumnName
Source§fn to_source(&self, buffer: &mut SourceBuffer)
fn to_source(&self, buffer: &mut SourceBuffer)
Writes the source code representation of this type to the provided buffer.
Source§fn to_source_string(&self) -> String
fn to_source_string(&self) -> String
Converts this type to a source code string.
Auto Trait Implementations§
impl Freeze for ColumnName
impl RefUnwindSafe for ColumnName
impl Send for ColumnName
impl Sync for ColumnName
impl Unpin for ColumnName
impl UnsafeUnpin for ColumnName
impl UnwindSafe for ColumnName
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