pub struct AltMetaDataColumn<'a> {
pub op: u8,
pub operand: u16,
pub base: BaseMetaDataColumn,
pub col_name: Cow<'a, str>,
}Expand description
A column produced by a COMPUTE clause, as described by an
TokenAltMetaData (ALTMETADATA, token 0x88) stream.
In addition to the regular column metadata, each computed column carries the
aggregate operator (op) that produced it (for example SUM, AVG,
COUNT) and the operand column number (operand) the operator was applied
to. See MS-TDS section 2.2.7.1.
Fields§
§op: u8The aggregate operator that produced this column (Op in [MS-TDS]).
operand: u16The column number in the originating result set that the aggregate
operator was applied to (Operand in [MS-TDS]).
base: BaseMetaDataColumnThe regular column metadata (flags, type information).
col_name: Cow<'a, str>The name of the computed column.
Trait Implementations§
Source§impl<'a> Clone for AltMetaDataColumn<'a>
impl<'a> Clone for AltMetaDataColumn<'a>
Source§fn clone(&self) -> AltMetaDataColumn<'a>
fn clone(&self) -> AltMetaDataColumn<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for AltMetaDataColumn<'a>
impl<'a> RefUnwindSafe for AltMetaDataColumn<'a>
impl<'a> Send for AltMetaDataColumn<'a>
impl<'a> Sync for AltMetaDataColumn<'a>
impl<'a> Unpin for AltMetaDataColumn<'a>
impl<'a> UnsafeUnpin for AltMetaDataColumn<'a>
impl<'a> UnwindSafe for AltMetaDataColumn<'a>
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